1
linux/drivers/staging/otus
Julia Lawall df6785681b Staging: otus: Drop an unnecessary NULL test
Apparently, the NULL test is not necessary at this point.

The semantic patch that finds this problem is as follows:
(http://www.emn.fr/x-info/coccinelle/)

// <smpl>
@@
type T;
expression E;
identifier i,fld;
statement S;
@@

- T i = E->fld;
+ T i;
  ... when != E
      when != i
  if (E == NULL) S
+ i = E->fld;
// </smpl>

Signed-off-by: Julia Lawall <julia@diku.dk>
Acked-by: Jiri Slaby <jirislaby@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2009-09-15 12:01:33 -07:00
..
80211core Staging: otus: beyond ARRAY_SIZE of wd->ap.wds.encryMode 2009-06-19 11:00:37 -07:00
hal Merge git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging-2.6 2009-04-05 11:06:45 -07:00
apdbg.c
athr_common.h
ioctl.c Staging: otus: remove dependency on WIRELESS_EXT version 2009-09-15 12:01:33 -07:00
Kconfig
Makefile
oal_dt.h
oal_marc.h
TODO staging: document that the wifi staging drivers a bit better 2009-04-03 14:54:27 -07:00
usbdrv.c Staging: otus: remove dependency on WIRELESS_EXT version 2009-09-15 12:01:33 -07:00
usbdrv.h
wrap_buf.c Staging: otus: remove dependency on WIRELESS_EXT version 2009-09-15 12:01:33 -07:00
wrap_dbg.c Staging: otus: remove dependency on WIRELESS_EXT version 2009-09-15 12:01:33 -07:00
wrap_ev.c Staging: otus: remove dependency on WIRELESS_EXT version 2009-09-15 12:01:33 -07:00
wrap_mem.c Staging: otus: remove dependency on WIRELESS_EXT version 2009-09-15 12:01:33 -07:00
wrap_mis.c Staging: otus: remove dependency on WIRELESS_EXT version 2009-09-15 12:01:33 -07:00
wrap_pkt.c Staging: otus: remove dependency on WIRELESS_EXT version 2009-09-15 12:01:33 -07:00
wrap_sec.c Staging: otus: remove dependency on WIRELESS_EXT version 2009-09-15 12:01:33 -07:00
wrap_usb.c Staging: otus: remove dependency on WIRELESS_EXT version 2009-09-15 12:01:33 -07:00
wwrap.c Staging: otus: Drop an unnecessary NULL test 2009-09-15 12:01:33 -07:00
zdcompat.h Staging: otus: remove dependency on WIRELESS_EXT version 2009-09-15 12:01:33 -07:00
zdusb.c otus/zdusb.c: additional USB idnetifier 2009-04-17 11:06:31 -07:00
zdusb.h otus/zdusb.c: additional USB idnetifier 2009-04-17 11:06:31 -07:00