linux/drivers/media
Daniel W. S. Almeida d4a3fa6652 media: dvb-frontends: lgdt3306a.c: remove dead code
Fix the following coccinelle report:

drivers/media/dvb-frontends/lgdt3306a.c:718:5-8:
Unneeded variable: "ret". Return "0" on line 744

Code was enclosed with #if 0 and thus this variable was not needed.
Remove that function altogether.

The  lgdt3306a_spectral_inversion function was dropped completely
since the function doesn't do anything. A comment was left at its
calling site to let others know that spectral_inversion defaults
already set for VSB and QAM

Found using - Coccinelle (http://coccinelle.lip6.fr)

Link: https://lore.kernel.org/linux-media/20200903131311.442255-1-dwlsalmeida@gmail.com
Signed-off-by: Daniel W. S. Almeida <dwlsalmeida@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
2021-03-22 17:15:53 +01:00
..
cec media: cec/core/cec-notifier: use IS_REACHABLE(CONFIG_I2C) 2021-03-22 10:24:44 +01:00
common media: videobuf2: Exit promptly if size = 0 2021-03-22 13:03:24 +01:00
dvb-core media: dvb_frontend: warn if frontend driver has API issues 2021-03-22 16:38:51 +01:00
dvb-frontends media: dvb-frontends: lgdt3306a.c: remove dead code 2021-03-22 17:15:53 +01:00
firewire media: firewire: fix memory leak 2020-09-27 11:29:45 +02:00
i2c media: adv7604: writing a one-block EDID failed 2021-03-22 13:05:55 +01:00
mc media: mc-device.c: change media_device_request_alloc to match media_ioctl_info 2020-08-29 08:15:23 +02:00
mmc media updates for v5.8-rc1 2020-06-03 20:59:38 -07:00
pci media: cx25821: switch from 'pci_' to 'dma_' API 2021-03-22 13:06:59 +01:00
platform media: coda: Remove unneeded of_match_ptr() 2021-03-22 13:03:46 +01:00
radio media: radio-si476x: rectify spelling and grammar 2021-03-22 11:58:42 +01:00
rc media: fix incorrect kernel doc usages 2021-03-11 11:59:44 +01:00
spi media: use getter/setter functions 2021-03-11 11:59:42 +01:00
test-drivers media: vidtv: remove duplicate include in vidtv_psi 2021-03-22 10:20:02 +01:00
tuners media: media tuner headers: fix kernel-doc warnings 2021-03-22 10:24:27 +01:00
usb media: media/usb: fix kernel-doc header issues 2021-03-22 12:51:50 +01:00
v4l2-core media: v4l2-mc: fix a warning message 2021-03-22 13:06:39 +01:00
Kconfig media: Correct 'so' 2021-03-22 11:52:09 +01:00
Makefile media: media/test_drivers: rename to test-drivers 2020-04-16 10:38:31 +02:00