linux/drivers/staging/rtl8192e/ieee80211
Julia Lawall 4498dbcd2d staging: rtl8193*: Remove double test
The 1 element of the array is tested twice.  Change the code so that the
remaining 3 element of the array is tested instead of testing the 1 element
a second time.

The sematic match that finds this problem is as follows:
(http://coccinelle.lip6.fr/)

// <smpl>
@expression@
expression E;
@@

(
* E
  || ... || E
|
* E
  && ... && E
)
// </smpl>

Signed-off-by: Julia Lawall <julia@diku.dk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-08-31 15:22:37 -07:00
..
dot11d.c Staging: rtl8192e: remove all code dependent on LINUX_VERSION_CODE 2010-06-22 15:06:20 -07:00
dot11d.h
ieee80211.h Staging: rtl8192e: remove all code dependent on LINUX_VERSION_CODE 2010-06-22 15:06:20 -07:00
ieee80211_crypt.c Staging: rtl8192e: remove all code dependent on LINUX_VERSION_CODE 2010-06-22 15:06:20 -07:00
ieee80211_crypt.h Staging: rtl8192e: remove all code dependent on LINUX_VERSION_CODE 2010-06-22 15:06:20 -07:00
ieee80211_crypt_ccmp.c Staging: rtl8192e: remove all code dependent on LINUX_VERSION_CODE 2010-06-22 15:06:20 -07:00
ieee80211_crypt_tkip.c Staging: rtl8192e: remove all code dependent on LINUX_VERSION_CODE 2010-06-22 15:06:20 -07:00
ieee80211_crypt_wep.c Staging: rtl8192e: remove all code dependent on LINUX_VERSION_CODE 2010-06-22 15:06:20 -07:00
ieee80211_module.c Staging: rtl8192e: Cleanup style and whitespace 2010-08-31 15:05:12 -07:00
ieee80211_rx.c staging: rtl8193*: Remove double test 2010-08-31 15:22:37 -07:00
ieee80211_softmac.c Staging: rtl81*: Fix spelling fuction -> function in comments 2010-08-31 15:05:13 -07:00
ieee80211_softmac_wx.c Staging: rtl8192e: remove all code dependent on LINUX_VERSION_CODE 2010-06-22 15:06:20 -07:00
ieee80211_tx.c Staging: rtl8192e: remove all code dependent on LINUX_VERSION_CODE 2010-06-22 15:06:20 -07:00
ieee80211_wx.c Staging: rtl8192e: use ARRAY_SIZE 2010-07-08 13:30:42 -07:00
rtl819x_BA.h
rtl819x_BAProc.c Staging: rtl8187x: Use %pM for mac address output 2010-03-03 16:42:29 -08:00
rtl819x_HT.h Staging: rtl9192e: fix power usage issues 2010-03-03 16:42:30 -08:00
rtl819x_HTProc.c Staging: rtl8192e: remove all code dependent on LINUX_VERSION_CODE 2010-06-22 15:06:20 -07:00
rtl819x_Qos.h staging: rtl8192x: sync the various rtl819x_Qos.h files 2010-05-11 15:08:23 -07:00
rtl819x_TS.h
rtl819x_TSProc.c staging: rtl8192x: sync the various rtl819x_TSProc.c files 2010-05-11 15:07:28 -07:00
rtl_crypto.h