linux/drivers/media/radio
Fugang Duan 949cf70636 [media] radio-si476x: add return value check to avoid dead code
Dead code found on below code:
    si476x_radio_add_new_custom(radio, SI476X_IDX_DIVERSITY_MODE);
    if (rval < 0)
            goto exit;

    si476x_radio_add_new_custom(radio, SI476X_IDX_INTERCHIP_LINK);
    if (rval < 0)  ====> Dead code !!!
            goto exit;

The piece of code miss return value check after calling .si476x_radio_add_new_custom(),
the patch fix it.

Signed-off-by: Fugang Duan <B38611@freescale.com>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
2016-02-01 08:01:15 -02:00
..
si470x [media] si470x: cleanup define namespace 2015-06-22 15:25:31 -03:00
si4713 [media] include/media: move platform_data to linux/platform_data/media 2015-11-17 06:58:42 -02:00
wl128x [media] wl128x: fix typo in MODULE_PARM_DESC 2016-02-01 08:00:27 -02:00
Kconfig
Makefile
dsbr100.c
lm7000.h
radio-aimslab.c
radio-aztech.c
radio-cadet.c
radio-gemtek.c
radio-isa.c
radio-isa.h
radio-keene.c
radio-ma901.c
radio-maxiradio.c [media] media, sound: tea575x: constify snd_tea575x_ops structures 2015-12-03 11:26:45 -02:00
radio-miropcm20.c
radio-mr800.c
radio-raremono.c
radio-rtrack2.c
radio-sf16fmi.c
radio-sf16fmr2.c [media] media, sound: tea575x: constify snd_tea575x_ops structures 2015-12-03 11:26:45 -02:00
radio-shark.c [media] media, sound: tea575x: constify snd_tea575x_ops structures 2015-12-03 11:26:45 -02:00
radio-shark2.c [media] radio-shark2: constify radio_tea5777_ops structures 2015-11-17 14:52:15 -02:00
radio-si476x.c [media] radio-si476x: add return value check to avoid dead code 2016-02-01 08:01:15 -02:00
radio-tea5764.c [media] radio: Drop owner assignment from i2c_driver 2015-08-11 13:01:08 -03:00
radio-tea5777.c
radio-tea5777.h [media] radio-shark2: constify radio_tea5777_ops structures 2015-11-17 14:52:15 -02:00
radio-terratec.c
radio-timb.c [media] include/media: move platform_data to linux/platform_data/media 2015-11-17 06:58:42 -02:00
radio-trust.c
radio-typhoon.c
radio-wl1273.c
radio-zoltrix.c
saa7706h.c [media] radio: Drop owner assignment from i2c_driver 2015-08-11 13:01:08 -03:00
tea575x.c [media] include/media: move driver interface headers to a separate dir 2015-11-17 06:57:29 -02:00
tef6862.c [media] radio: Drop owner assignment from i2c_driver 2015-08-11 13:01:08 -03:00