kernel-ark/drivers/net/wireless
Julia Lawall ec96cfd821 drivers/net: Drop unnecessary NULL test
The result of container_of should not be NULL.  In particular, in this case
the argument to the enclosing function has passed though INIT_WORK, which
dereferences it, implying that its container cannot be NULL.

A simplified version of the semantic patch that makes this change is as
follows:
(http://www.emn.fr/x-info/coccinelle/)

// <smpl>
@@
identifier fn,work,x,fld;
type T;
expression E1,E2;
statement S;
@@

static fn(struct work_struct *work) {
  ... when != work = E1
  x = container_of(work,T,fld)
  ... when != x = E2
- if (x == NULL) S
  ...
}
// </smpl>

Signed-off-by: Julia Lawall <julia@diku.dk>
Acked-by: Zhu Yi <yi.zhu@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2009-07-24 15:05:12 -04:00
..
ath ar9170: implement transmit aggregation 2009-07-24 15:05:12 -04:00
b43 mac80211: push rx status into skb->cb 2009-07-10 14:57:54 -04:00
b43legacy mac80211: push rx status into skb->cb 2009-07-10 14:57:54 -04:00
hostap
ipw2x00 drivers/net: Drop unnecessary NULL test 2009-07-24 15:05:12 -04:00
iwlwifi iwlagn: fix minimum number of queues setting 2009-07-24 15:05:10 -04:00
iwmc3200wifi Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 2009-07-23 19:03:51 -07:00
libertas Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 2009-07-23 19:03:51 -07:00
libertas_tf mac80211: push rx status into skb->cb 2009-07-10 14:57:54 -04:00
orinoco Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 2009-07-16 20:21:24 -07:00
p54 p54: generate channel list dynamically 2009-07-24 15:05:12 -04:00
prism54 drivers/net/wireless: Use PCI_VDEVICE 2009-07-10 15:02:25 -04:00
rt2x00 rt2x00: Remove DEVICE_STATE_DISABLED_RADIO_HW 2009-07-24 15:05:12 -04:00
rtl818x Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 2009-07-23 19:03:51 -07:00
wl12xx mac80211: push rx status into skb->cb 2009-07-10 14:57:54 -04:00
zd1211rw zd1211rw: sort vid/pid pairs by numerical value 2009-07-10 15:01:41 -04:00
adm8211.c mac80211: push rx status into skb->cb 2009-07-10 14:57:54 -04:00
adm8211.h
airo_cs.c
airo.c
airo.h
arlan-main.c
arlan-proc.c
arlan.h
at76c50x-usb.c mac80211: push rx status into skb->cb 2009-07-10 14:57:54 -04:00
at76c50x-usb.h
atmel_cs.c
atmel_pci.c
atmel.c
atmel.h
i82586.h
i82593.h
Kconfig wireless: fix supported cards for rtl8187 2009-07-24 15:05:09 -04:00
mac80211_hwsim.c mac80211_hwsim: report fixed signal strength 2009-07-24 15:05:11 -04:00
Makefile
mwl8k.c mac80211: push rx status into skb->cb 2009-07-10 14:57:54 -04:00
netwave_cs.c
ray_cs.c
ray_cs.h
rayctl.h
rndis_wlan.c rndis_wlan: convert set/get txpower to cfg80211 2009-07-10 14:57:53 -04:00
strip.c Revert "NET: Fix locking issues in PPP, 6pack, mkiss and strip line disciplines." 2009-07-14 13:13:41 -07:00
wavelan_cs.c
wavelan_cs.h
wavelan_cs.p.h
wavelan.c
wavelan.h
wavelan.p.h
wl3501_cs.c
wl3501.h
zd1201.c
zd1201.h