diff options
| author | Andrey Utkin <[email protected]> | 2016-08-24 20:17:18 -0300 |
|---|---|---|
| committer | Mauro Carvalho Chehab <[email protected]> | 2016-09-06 16:45:48 -0300 |
| commit | 350649cc24358ab0cfff7179c06818d0cfef698b (patch) | |
| tree | 26018ea4c24eb007520da7300efec35923253780 /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | e5872251cdf59ad284eb7ebb5960208d1753d9d8 (diff) | |
[media] tw5864-core: remove excessive irqsave
As warned by smatch:
drivers/media/pci/tw5864/tw5864-core.c:160 tw5864_h264_isr() error: double lock 'irqsave:flags'
drivers/media/pci/tw5864/tw5864-core.c:174 tw5864_h264_isr() error: double unlock 'irqsave:flags'
Two different spinlocks are obtained, so having two calls is correct,
but second irqsave is superfluous, and using same "flags" variable is
just wrong.
Reported-by: Mauro Carvalho Chehab <[email protected]>
Signed-off-by: Andrey Utkin <[email protected]>
Signed-off-by: Hans Verkuil <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions