linux/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 net: convert remaining non-symbolic return values in ndo_start_xmit() functions 2009-07-05 19:23:38 -07:00
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
Kconfig wireless: fix supported cards for rtl8187 2009-07-24 15:05:09 -04:00
Makefile iwmc3200wifi: Add new Intel Wireless Multicomm 802.11 driver 2009-05-22 14:06:02 -04:00
adm8211.c mac80211: push rx status into skb->cb 2009-07-10 14:57:54 -04:00
adm8211.h
airo.c net: use NETDEV_TX_OK instead of 0 in ndo_start_xmit() functions 2009-07-05 19:16:04 -07:00
airo.h
airo_cs.c
arlan-main.c net: use NETDEV_TX_OK instead of 0 in ndo_start_xmit() functions 2009-07-05 19:16:04 -07:00
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.c net: use NETDEV_TX_OK instead of 0 in ndo_start_xmit() functions 2009-07-05 19:16:04 -07:00
atmel.h
atmel_cs.c Wireless: remove driver_data direct access of struct device 2009-05-06 15:15:01 -04:00
atmel_pci.c
i82586.h
i82593.h
mac80211_hwsim.c mac80211_hwsim: report fixed signal strength 2009-07-24 15:05:11 -04:00
mwl8k.c mac80211: push rx status into skb->cb 2009-07-10 14:57:54 -04:00
netwave_cs.c net: use NETDEV_TX_OK instead of 0 in ndo_start_xmit() functions 2009-07-05 19:16:04 -07:00
ray_cs.c net: use NETDEV_TX_OK instead of 0 in ndo_start_xmit() functions 2009-07-05 19:16:04 -07:00
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.c net: convert remaining non-symbolic return values in ndo_start_xmit() functions 2009-07-05 19:23:38 -07:00
wavelan.h
wavelan.p.h wireless: convert wavelan to net_device_ops 2009-03-27 00:46:46 -07:00
wavelan_cs.c net: convert remaining non-symbolic return values in ndo_start_xmit() functions 2009-07-05 19:23:38 -07:00
wavelan_cs.h
wavelan_cs.p.h
wl3501.h wl3501: convert to internal net_device_stats 2009-03-21 22:51:19 -07:00
wl3501_cs.c net: convert remaining non-symbolic return values in ndo_start_xmit() functions 2009-07-05 19:23:38 -07:00
zd1201.c net: use NETDEV_TX_OK instead of 0 in ndo_start_xmit() functions 2009-07-05 19:16:04 -07:00
zd1201.h zd1201: convert to internal net_device_stats 2009-03-21 22:51:20 -07:00