linux/drivers/media/pci/mantis
Lars-Peter Clausen bf51a8c5e0 i2c: Ignore return value of i2c_del_adapter()
i2c_del_adapter() always returns 0. So all checks testing whether it will be
non zero will always evaluate to false and the conditional code is dead code.
This patch updates all callers of i2c_del_mux_adapter() to ignore the return
value and assume that it will always succeed (which it will). In a subsequent
patch the return type of i2c_del_adapter() will be made void.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Acked-by: Ben Hutchings <bhutchings@solarflare.com>
Reviewed-by: Jean Delvare <khali@linux-fr.org>
Acked-by: Shawn Guo <shawn.guo@linaro.org>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
2013-04-02 07:06:03 +02:00
..
Kconfig
Makefile
hopper_cards.c Drivers: media: remove __dev* attributes. 2013-01-03 15:57:02 -08:00
hopper_vp3028.c
hopper_vp3028.h
mantis_ca.c [media] mantis: cleanup NULL checking in mantis_ca_exit() 2012-12-27 20:25:38 -02:00
mantis_ca.h
mantis_cards.c Drivers: media: remove __dev* attributes. 2013-01-03 15:57:02 -08:00
mantis_common.h
mantis_core.c
mantis_core.h
mantis_dma.c
mantis_dma.h
mantis_dvb.c Drivers: media: remove __dev* attributes. 2013-01-03 15:57:02 -08:00
mantis_dvb.h
mantis_evm.c
mantis_hif.c
mantis_hif.h
mantis_i2c.c i2c: Ignore return value of i2c_del_adapter() 2013-04-02 07:06:03 +02:00
mantis_i2c.h
mantis_input.c
mantis_ioc.c
mantis_ioc.h
mantis_link.h
mantis_pci.c Drivers: media: remove __dev* attributes. 2013-01-03 15:57:02 -08:00
mantis_pci.h
mantis_pcmcia.c
mantis_reg.h
mantis_uart.c
mantis_uart.h
mantis_vp1033.c
mantis_vp1033.h
mantis_vp1034.c
mantis_vp1034.h
mantis_vp1041.c
mantis_vp1041.h
mantis_vp2033.c
mantis_vp2033.h
mantis_vp2040.c
mantis_vp2040.h
mantis_vp3028.c
mantis_vp3028.h
mantis_vp3030.c
mantis_vp3030.h