diff options
| author | Hans Verkuil <hverkuil-cisco@xs4all.nl> | 2021-01-20 11:58:38 +0300 |
|---|---|---|
| committer | Mauro Carvalho Chehab <mchehab+huawei@kernel.org> | 2021-01-27 10:36:21 +0300 |
| commit | add434e551f07554f093193d16a850bdf45ec236 (patch) | |
| tree | 51c501187bdec9b6415544eb192662baf0f9e2a6 /tools/perf/scripts/python/exported-sql-viewer.py | |
| parent | dd3bca72c4db353080e3de44124d45712d73b4f4 (diff) | |
| download | linux-add434e551f07554f093193d16a850bdf45ec236.tar.xz | |
media: usb/dvb-usb-v2/rtl28xxu.c: clean up code to fix smatch warning
Fixes this smatch warning:
drivers/media/usb/dvb-usb-v2/rtl28xxu.c:1040 rtl2832u_frontend_attach() warn: missing error code 'ret'
It is actually a bogus warning since in this particular case ret isn't
meant to be set. But by reworking the code a bit the code is actually
a lot more understandable and it fixes this warning.
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/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions
