diff options
| author | 2020-08-07 10:35:39 +0200 | |
|---|---|---|
| committer | 2020-08-29 08:01:59 +0200 | |
| commit | e1f8807a5debe0a32ce7042839182caa92c1ec65 (patch) | |
| tree | 7b7c86611b0db45d5f0dbb6981fa5d8cae5224c3 /tools/perf/scripts/python/bin | |
| parent | media: pci: saa7164-core.c: replace if (cond) BUG() with BUG_ON() (diff) | |
media: usb: dib0700_devices.c: remove useless if/else
Fix the following coccinelle report:
drivers/media/usb/dvb-usb/dib0700_devices.c:1741:1-3:
WARNING: possible condition with no effect (if == else)
Both branches are the same, so remove the if/else altogether.
Found using - Coccinelle (http://coccinelle.lip6.fr)
[hverkuil: fix checkpatch warnings]
Signed-off-by: Daniel W. S. Almeida <dwlsalmeida@gmail.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions
