summaryrefslogtreecommitdiffstats
path: root/drivers/media/dvb-core
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab+huawei@kernel.org>2021-06-10 16:00:53 +0200
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>2021-06-17 09:27:34 +0200
commitdba328bab4c6fa4ec1ed3be616f7196865f2ce41 (patch)
tree4f65040c829410088c4cf7aa1755acb77876c4df /drivers/media/dvb-core
parent5368b1ee2939961a16e74972b69088433fc52195 (diff)
downloadlinux-dba328bab4c6fa4ec1ed3be616f7196865f2ce41.tar.gz
linux-dba328bab4c6fa4ec1ed3be616f7196865f2ce41.tar.bz2
linux-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 <mchehab+huawei@kernel.org>
Diffstat (limited to 'drivers/media/dvb-core')
0 files changed, 0 insertions, 0 deletions