linux/drivers/media/dvb
Julia Lawall 62bdbb735c V4L/DVB: drivers/media: Correct NULL test
In each case, the NULL test has been performed already.

A simplified version of the semantic match that finds this problem is as
follows: (http://coccinelle.lip6.fr/)

// <smpl>
@r@
expression *x;
expression e;
identifier l;
@@

if (x == NULL || ...) {
    ... when forall
    return ...; }
... when != goto l;
    when != x = e
    when != &x
*x == NULL
// </smpl>

Signed-off-by: Julia Lawall <julia@diku.dk>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2010-02-26 15:10:57 -03:00
..
b2c2 V4L/DVB (12294): b2c2: Use dvb-pll for Cablestar2 2009-09-12 12:17:52 -03:00
bt8xx V4L/DVB: dst: fixes for DVB-C Twinhan VP2031 2010-02-26 15:10:57 -03:00
dm1105 V4L/DVB: dm1105: use macro for read/write registers 2010-02-26 15:10:42 -03:00
dvb-core V4L/DVB: DVB: Export dvb_ringbuffer_flush() again 2010-02-26 15:10:54 -03:00
dvb-usb V4L/DVB: media: dvb/af9015, add hashes support 2010-02-26 15:10:52 -03:00
firewire V4L/DVB: firedtv: reduce memset()s 2010-02-26 15:10:48 -03:00
frontends V4L/DVB: drivers/media: Correct NULL test 2010-02-26 15:10:57 -03:00
mantis V4L/DVB: [Mantis] remove duplicated #include 2010-02-26 15:10:46 -03:00
ngene V4L/DVB: using vmalloc requires include linux/vmalloc.h 2010-02-26 15:10:56 -03:00
pluto2 V4L/DVB (12483): Use DIV_ROUND_CLOSEST 2009-09-12 12:19:08 -03:00
pt1 V4L/DVB (13522): valj5jf8007s/t: fix compile warnings 2009-12-05 18:42:15 -02:00
siano V4L/DVB: smsir: make local variables static 2010-02-26 15:10:51 -03:00
ttpci V4L/DVB (13984): [BUDGET] Use a tuner clock output divider of 2 for TT S2-1600. 2010-02-26 15:10:37 -03:00
ttusb-budget V4L/DVB (10149): ttusb-budget: make it depend on PCI 2009-01-02 17:12:21 -02:00
ttusb-dec V4L/DVB (13414): ttusb-dec: do not overwrite the first part of phys string 2009-12-05 18:41:45 -02:00
Kconfig V4L/DVB: ngene: Driver compiles now 2010-02-26 15:10:53 -03:00
Makefile V4L/DVB: ngene: Driver compiles now 2010-02-26 15:10:53 -03:00