linux-sg2042/drivers/media/dvb-frontends
Himangi Saraogi 157a5fe90a [media] dib7000m: Remove unnecessary null test
This patch removes the null test on ch. ch is initialized at the
beginning of the function to &demod->dtv_property_cache. Since demod
is dereferenced prior to the null test, demod must be a valid pointer,
and &demod->dtv_property_cache cannot be null.

The following Coccinelle script is used for detecting the change:

@r@
expression e,f;
identifier g,y;
statement S1,S2;
@@

*e = &f->g
<+...
 f->y
 ...+>
*if (e != NULL || ...)
 S1 else S2

Signed-off-by: Himangi Saraogi <himangi774@gmail.com>
Acked-by: Julia Lawall <julia.lawall@lip6.fr>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
2014-07-22 21:42:23 -03:00
..
drx39xyj [media] drx-j: Use kmemdup instead of kmalloc + memcpy 2014-07-04 15:34:21 -03:00
Kconfig [media] rtl2832_sdr: fix Kconfig dependencies 2014-07-22 01:36:29 -03:00
Makefile rtl2832_sdr: move from staging to media 2014-07-21 20:55:41 -03:00
a8293.c [media] a8293: add small sleep in order to settle LNB voltage 2013-12-18 07:18:31 -02:00
a8293.h
af9013.c [media] dvb-frontends: remove unnecessary break after goto 2014-07-22 21:26:57 -03:00
af9013.h
af9013_priv.h
af9033.c [media] af9033: Don't export functions for the hardware filter 2014-03-14 20:26:59 -03:00
af9033.h [media] af9033: Don't export functions for the hardware filter 2014-03-14 20:26:59 -03:00
af9033_priv.h
atbm8830.c
atbm8830.h
atbm8830_priv.h
au8522.h
au8522_common.c
au8522_decoder.c [media] au0828/au8522: Add PAL-M support 2014-06-19 13:31:37 -03:00
au8522_dig.c
au8522_priv.h [media] au0828/au8522: Add PAL-M support 2014-06-19 13:31:37 -03:00
bcm3510.c
bcm3510.h
bcm3510_priv.h
bsbe1-d01a.h
bsbe1.h
bsru6.h
cx22700.c
cx22700.h
cx22702.c
cx22702.h
cx24110.c
cx24110.h
cx24113.c
cx24113.h
cx24116.c
cx24116.h
cx24117.c [media] cx24117: use a valid dev pointer for dev_err printout 2014-02-04 06:36:03 -02:00
cx24117.h
cx24123.c
cx24123.h
cxd2820r.h [media] cxd2820r: TS clock inversion in config 2014-07-22 09:47:05 -03:00
cxd2820r_c.c [media] cxd2820r: TS clock inversion in config 2014-07-22 09:47:05 -03:00
cxd2820r_core.c
cxd2820r_priv.h
cxd2820r_t.c [media] cxd2820r: TS clock inversion in config 2014-07-22 09:47:05 -03:00
cxd2820r_t2.c [media] cxd2820r: TS clock inversion in config 2014-07-22 09:47:05 -03:00
dib0070.c
dib0070.h
dib0090.c [media] dib0090: Fix the sleep time at the state machine 2014-07-07 09:58:55 -03:00
dib0090.h
dib3000.h
dib3000mb.c
dib3000mb_priv.h
dib3000mc.c
dib3000mc.h
dib7000m.c [media] dib7000m: Remove unnecessary null test 2014-07-22 21:42:23 -03:00
dib7000m.h
dib7000p.c [media] dib7000p: Callibrate signal strength 2014-06-17 12:04:51 -03:00
dib7000p.h [media] dib7000: export just one symbol 2014-06-17 12:04:49 -03:00
dib8000.c [media] dib8000: improve the message that reports per-layer locks 2014-07-07 09:59:01 -03:00
dib8000.h [media] dib8000: export just one symbol 2014-06-17 12:04:50 -03:00
dib9000.c [media] media: dib9000: avoid out of bound access 2014-07-22 21:15:41 -03:00
dib9000.h
dibx000_common.c
dibx000_common.h
drxd.h [media] drxd: get rid of EXPORT_SYMBOL(drxd_config_i2c) 2014-06-17 12:04:38 -03:00
drxd_firm.c
drxd_firm.h
drxd_hard.c [media] drxd: get rid of EXPORT_SYMBOL(drxd_config_i2c) 2014-06-17 12:04:38 -03:00
drxd_map_firm.h
drxk.h [media] drxk: remove the option to load firmware asynchronously 2014-01-14 14:40:10 -02:00
drxk_hard.c [media] drxk: remove the option to load firmware asynchronously 2014-01-14 14:40:10 -02:00
drxk_hard.h
drxk_map.h
ds3000.c [media] ds3000: fix reading array out of bound in ds3000_read_snr 2014-02-28 15:21:02 -03:00
ds3000.h
dvb-pll.c
dvb-pll.h
dvb_dummy_fe.c
dvb_dummy_fe.h
ec100.c
ec100.h
eds1547.h
hd29l2.c
hd29l2.h
hd29l2_priv.h
isl6405.c
isl6405.h
isl6421.c
isl6421.h
isl6423.c
isl6423.h
itd1000.c
itd1000.h
itd1000_priv.h
ix2505v.c
ix2505v.h
l64781.c
l64781.h
lg2160.c
lg2160.h
lgdt330x.c
lgdt330x.h
lgdt330x_priv.h
lgdt3305.c [media] lgdt3305: include sleep functionality in lgdt3304_ops 2014-04-07 09:40:24 -03:00
lgdt3305.h
lgs8gl5.c
lgs8gl5.h
lgs8gxx.c
lgs8gxx.h
lgs8gxx_priv.h
lnbh24.h
lnbp21.c
lnbp21.h
lnbp22.c
lnbp22.h
m88ds3103.c [media] m88ds3103: implement BER 2014-07-22 21:30:58 -03:00
m88ds3103.h [media] m88ds3103: fix some style issues reported by checkpatch.pl 2013-12-19 09:24:44 -02:00
m88ds3103_priv.h [media] m88ds3103: implement BER 2014-07-22 21:30:58 -03:00
m88rs2000.c [media] m88rs2000: fix sparse static warnings 2014-04-07 09:39:39 -03:00
m88rs2000.h [media] m88rs2000: add m88rs2000_set_carrieroffset 2014-01-07 09:35:58 -02:00
mb86a16.c
mb86a16.h
mb86a16_priv.h
mb86a20s.c [media] mb86a20s: Fix the code that estimates the measurement interval 2014-07-22 21:34:03 -03:00
mb86a20s.h [media, edac] Change my email address 2014-02-07 08:03:07 -02:00
mt312.c
mt312.h
mt312_priv.h
mt352.c
mt352.h
mt352_priv.h
nxt200x.c [media] update Michael Krufky's email address 2014-02-04 06:34:21 -02:00
nxt200x.h
nxt6000.c
nxt6000.h
nxt6000_priv.h
or51132.c
or51132.h
or51211.c
or51211.h
rtl2830.c [media] rtl2830: add parent for I2C adapter 2013-12-09 14:50:51 -02:00
rtl2830.h
rtl2830_priv.h
rtl2832.c [media] rtl2832: implement delayed I2C gate close 2014-03-05 15:41:18 -03:00
rtl2832.h [media] rtl2832: implement delayed I2C gate close 2014-03-05 15:41:18 -03:00
rtl2832_priv.h [media] rtl2832: implement delayed I2C gate close 2014-03-05 15:41:18 -03:00
rtl2832_sdr.c [media] rtl2832_sdr: remove plain 64-bit divisions 2014-07-22 01:30:39 -03:00
rtl2832_sdr.h rtl2832_sdr: move from staging to media 2014-07-21 20:55:41 -03:00
s5h1409.c
s5h1409.h
s5h1411.c
s5h1411.h
s5h1420.c
s5h1420.h
s5h1420_priv.h
s5h1432.c
s5h1432.h
s921.c [media, edac] Change my email address 2014-02-07 08:03:07 -02:00
s921.h [media, edac] Change my email address 2014-02-07 08:03:07 -02:00
si21xx.c
si21xx.h
si2168.c [media] si2168: Fix a badly solved merge conflict 2014-07-22 20:38:13 -03:00
si2168.h [media] si2168: add copyright and license 2014-04-23 09:53:39 -03:00
si2168_priv.h Merge commit '67dd8f35c2d8ed80f26c9654b474cffc11c6674d' into patchwork 2014-07-22 02:03:59 -03:00
sp887x.c
sp887x.h
sp8870.c
sp8870.h
stb0899_algo.c
stb0899_cfg.h
stb0899_drv.c
stb0899_drv.h
stb0899_priv.h
stb0899_reg.h
stb6000.c
stb6000.h
stb6100.c [media] stb6100: fix buffer length check in stb6100_write_reg_range() 2014-02-28 15:20:33 -03:00
stb6100.h
stb6100_cfg.h [media] Cleanup line > 80 character violations 2014-07-22 21:24:24 -03:00
stb6100_proc.h [media] Remove checks of struct member addresses 2014-07-22 21:23:53 -03:00
stv090x.c
stv090x.h
stv090x_priv.h
stv090x_reg.h
stv0288.c
stv0288.h
stv0297.c
stv0297.h
stv0299.c
stv0299.h
stv0367.c [media] Remove checks of struct member addresses 2014-07-22 21:23:53 -03:00
stv0367.h
stv0367_priv.h
stv0367_regs.h
stv0900.h
stv0900_core.c
stv0900_init.h
stv0900_priv.h
stv0900_reg.h
stv0900_sw.c [media] stv0900: remove an unneeded check 2014-02-28 15:20:15 -03:00
stv6110.c
stv6110.h
stv6110x.c
stv6110x.h
stv6110x_priv.h
stv6110x_reg.h
tda665x.c
tda665x.h
tda826x.c
tda826x.h
tda1002x.h
tda1004x.c
tda1004x.h
tda8083.c
tda8083.h
tda8261.c
tda8261.h
tda8261_cfg.h [media] Cleanup line > 80 character violations 2014-07-22 21:24:24 -03:00
tda10021.c
tda10023.c
tda10048.c
tda10048.h
tda10071.c [media] tda10071: fix returned symbol rate calculation 2014-07-14 21:03:59 -03:00
tda10071.h [media] tda10071: coding style issues 2014-02-24 10:37:16 -03:00
tda10071_priv.h [media] tda10071: add missing DVB-S2/PSK-8 FEC AUTO 2014-07-14 21:03:08 -03:00
tda10086.c
tda10086.h
tda18271c2dd.c [media] dvb-frontends: decimal vs hex typo in ChannelConfiguration() 2014-07-22 21:00:54 -03:00
tda18271c2dd.h
tda18271c2dd_maps.h [media] dvb-frontends: Add static 2014-07-04 15:33:46 -03:00
tdhd1.h
ts2020.c
ts2020.h
tua6100.c
tua6100.h
ves1x93.c
ves1x93.h
ves1820.c
ves1820.h
z0194a.h
zl10036.c
zl10036.h
zl10039.c
zl10039.h
zl10353.c
zl10353.h
zl10353_priv.h