diff options
| author | Mauro Carvalho Chehab <[email protected]> | 2021-06-10 14:00:53 +0000 |
|---|---|---|
| committer | Mauro Carvalho Chehab <[email protected]> | 2021-06-17 07:27:34 +0000 |
| commit | dba328bab4c6fa4ec1ed3be616f7196865f2ce41 (patch) | |
| tree | 4f65040c829410088c4cf7aa1755acb77876c4df /drivers/media/test-drivers/vimc/vimc-sensor.c | |
| parent | media: siano: fix device register error path (diff) | |
| download | kernel-dba328bab4c6fa4ec1ed3be616f7196865f2ce41.tar.gz kernel-dba328bab4c6fa4ec1ed3be616f7196865f2ce41.zip | |
media: ttusb-dec: cleanup an error handling logic
Simplify the logic at ttusb_dec_send_command().
Besides avoiding some code duplication, as a side effect,
this could remove this false positive return with spatch:
drivers/media/usb/ttusb-dec/ttusb_dec.c:380 ttusb_dec_send_command() warn: inconsistent returns '&dec->usb_mutex'.
Locked on : 330
Unlocked on: 354,365,380
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'drivers/media/test-drivers/vimc/vimc-sensor.c')
0 files changed, 0 insertions, 0 deletions
