media: usb: as102: drop as102_dev NULL check
authorHans Verkuil <hverkuil-cisco@xs4all.nl>
Wed, 24 May 2023 12:11:45 +0000 (13:11 +0100)
committerMauro Carvalho Chehab <mchehab@kernel.org>
Fri, 9 Jun 2023 15:07:30 +0000 (16:07 +0100)
commit7cc471112edd5292a05698dd3f7b9543844a26a1
treef1acd1340f13c2401ce88d71882f77f57646423e
parent254f3337ce2575bf94f1fb40cc40fdbc70371116
media: usb: as102: drop as102_dev NULL check

Fixes this smatch warning:

drivers/media/usb/as102/as102_usb_drv.c:306 as102_usb_release() warn: can 'as102_dev' even be NULL?

And indeed, as102_dev can never be NULL, so just drop the NULL check.

Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
drivers/media/usb/as102/as102_usb_drv.c