linux/drivers/media
Ricardo Ribalda e7311aa47a media: siano: Simplify smscore_load_firmware_from_file
The function is never called with a loadfirmware_handler, so we can
remove some dead code.

We can also use this as a excuse to remove some unused type definitions.

This fixes the following smatch warning:
drivers/media/common/siano/smscoreapi.c:1172 smscore_load_firmware_from_file() error: we previously assumed 'loadfirmware_handler' could be null (see line 1150)

Signed-off-by: Ricardo Ribalda <ribalda@chromium.org>
Reported-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Closes: https://lore.kernel.org/linux-media/99bd75a0-a6f3-4c47-bc89-70ffd87da756@xs4all.nl/T/#t
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
2024-08-05 16:30:24 +02:00
..
cec media: cec: core: add new CEC_MSG_FL_REPLY_VENDOR_ID flag 2024-08-05 09:38:46 +02:00
common media: siano: Simplify smscore_load_firmware_from_file 2024-08-05 16:30:24 +02:00
dvb-core media: dvbdev: Initialize sbuf 2024-04-08 13:48:19 +02:00
dvb-frontends minmax: make generic MIN() and MAX() macros available everywhere 2024-07-28 15:49:18 -07:00
firewire media: firewire: firedtv-avc.c: replace BUG with proper, error return 2023-08-10 07:58:37 +02:00
i2c media: uda1342: add missing MODULE_DESCRIPTION() macro 2024-06-29 12:20:04 +02:00
mc media: mc: mark the media devnode as registered from the, start 2024-04-22 11:41:04 +02:00
mmc media: mmc: siano: simplify module initialization 2024-04-08 13:48:19 +02:00
pci media: intel/ipu6: select AUXILIARY_BUS in Kconfig 2024-07-30 08:36:29 +02:00
platform media updates for v6.11-rc1 2024-07-17 18:30:10 -07:00
radio media: Convert from tasklet to BH workqueue 2024-06-21 08:57:09 +02:00
rc media: rc: remove unused tx_resolution field 2024-07-31 11:21:56 +02:00
spi media: gs1662: remove unused struct 'gs_reg_fmt_custom' 2024-05-31 13:51:16 +02:00
test-drivers media: vivid: add <Vendor Command With ID> support 2024-08-05 09:39:19 +02:00
tuners media: tuner-simple: Add support for Tena TNF931D-DFDR1 2024-06-29 12:20:05 +02:00
usb media: uvcvideo: Fix custom control mapping probing 2024-07-22 15:22:20 +03:00
v4l2-core media: uapi: Add PiSP Compressed RAW Bayer formats 2024-06-27 13:06:47 +02:00
Kconfig media: Kconfig: Make DVB_CORE=m possible when MEDIA_SUPPORT=y 2022-12-07 17:58:46 +01:00
Makefile media: Makefiles: remove extra spaces 2022-03-12 16:59:52 +01:00