linux/drivers/staging
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
..
adis16255 staging: adis16255: fix sysfs leak 2010-08-31 14:51:53 -07:00
asus_oled Staging: asus_oled: asus_oled.c: Checkpatch cleanup 2010-05-11 11:35:30 -07:00
batman-adv Staging: batman-adv: Don't write in not allocated packet_buff 2010-08-23 18:15:38 -07:00
comedi Staging: comedi: fix brace coding style issue in dt2817.c 2010-08-31 15:05:13 -07:00
crystalhd staging: crystalhd: call disable_pci_device() if pci_probe() failed 2010-08-31 14:48:07 -07:00
cx25821 Staging: cx25821: clenup warnings found by checkpatch.pl tool in cx25821-audio-upstream.c and cx25821-audio.h. 2010-08-31 15:05:12 -07:00
cxt1e1 Staging: cxt1e1: remove code guarded by GENERIC_HDLC_VERSION 2010-06-18 15:20:59 -07:00
dream Staging: dream: pmem: remove casts from void* 2010-07-08 13:49:36 -07:00
dt3155v4l Staging: dt3155v4l: correcting a pointer mismatch bug and cleanups 2010-06-18 16:50:04 -07:00
easycap staging: Pushdown bkl to easycap ioctl handlers 2010-08-09 03:28:40 +02:00
echo staging: trivial: fix typo "seperate" 2010-05-14 13:16:10 -07:00
et131x Staging: et131x: Small format/style tidyups 2010-06-17 16:08:45 -07:00
frontier staging: frontier: switch semaphores to mutexes 2010-05-11 11:35:33 -07:00
go7007 i2c: Remove all i2c_set_clientdata(client, NULL) in drivers 2010-06-03 11:33:58 +02:00
hv Merge branch 'for-2.6.36' of git://git.kernel.dk/linux-2.6-block 2010-08-10 15:22:42 -07:00
iio staging: iio: hmc5843 change ABI to comply with documentation 2010-08-31 11:42:48 -07:00
line6 Staging: line6: needs to select SND_PCM 2010-07-28 08:20:55 -07:00
lirc staging: Use available error codes 2010-08-31 15:05:12 -07:00
memrar Staging: Merge staging-next into Linus's tree 2010-08-05 14:18:03 -07:00
mrst-touchscreen Staging: mrst-touchscreen: Fix wrong Makefile config 2010-08-31 15:14:15 -07:00
msm staging: msm: remove video drivers for obsolete platforms 2010-07-26 15:39:31 -07:00
octeon Staging: Merge staging-next into Linus's tree 2010-08-05 14:18:03 -07:00
otus staging: otus: fix compile warning and some style issues 2010-08-31 11:52:30 -07:00
panel staging: panel: fix error path 2010-08-02 18:23:45 -07:00
phison Staging: phison: depends on ATA_BMDMA 2010-06-04 13:38:57 -07:00
pohmelfs staging: Drop unnecessary null test 2010-08-31 11:13:15 -07:00
quatech_usb2 Staging: quatech_usb2: remove unused qt2_box_flush function 2010-08-02 18:25:27 -07:00
quickstart Staging: quickstart: acpi_status is unsigned 2010-08-31 14:48:09 -07:00
rt2860 Staging: RT2860: Fixed all warnings and errors in the iface directory 2010-08-31 15:05:13 -07:00
rt2870 Staging: rt2870: Allow building on ARM 2010-05-11 11:35:55 -07:00
rtl8187se Staging: rtl81*: Fix spelling fuction -> function in comments 2010-08-31 15:05:13 -07:00
rtl8192e staging: rtl8193*: Remove double test 2010-08-31 15:22:37 -07:00
rtl8192u staging: rtl8193*: Remove double test 2010-08-31 15:22:37 -07:00
rtl8712 staging: r8712u: Update copy-to list for patches 2010-08-31 15:20:06 -07:00
samsung-laptop backlight: Allow properties to be passed at registration 2010-03-16 19:47:54 +00:00
sbe-2t3e3 Staging: Add SBE 2T3E3 WAN driver 2010-08-30 17:36:50 -07:00
serqt_usb2 Staging: serqt_usb2: fix space coding style issue in serqt_usb2.c 2010-05-11 11:35:54 -07:00
slicoss Staging: slicoss: Remove explicit arch dependencies 2010-08-31 11:52:28 -07:00
sm7xx staging: sm7xx: call disable_pci_device() if pci_probe() failed 2010-08-31 14:48:09 -07:00
solo6x10 Staging: solo6x10: fixed assignments in if conditions in solo6010-core.c 2010-08-31 15:22:37 -07:00
spectra staging: spectra: call disable_pci_device() if pci_probe() failed 2010-08-31 14:48:08 -07:00
ti-st Staging: ti-st: remove st_get_plat_device 2010-08-31 15:11:20 -07:00
tidspbridge staging: tidspbridge: Remove services.c and services.h 2010-08-31 11:23:17 -07:00
tm6000 staging: tm6000: fix memory leak 2010-08-31 14:51:52 -07:00
udlfb Merge git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging-2.6 2010-05-21 15:26:46 -07:00
usbip staging: usbip: fix memory leak 2010-08-31 14:51:52 -07:00
vme Staging: autoconvert trivial BKL users to private mutex 2010-07-22 11:10:29 -07:00
vt6655 staging: Use available error codes 2010-08-31 15:05:12 -07:00
vt6656 staging: Use available error codes 2010-08-31 15:05:12 -07:00
westbridge Staging: westbridge: mark BROKEN as it doesn't currently build properly 2010-08-30 17:29:22 -07:00
winbond Staging: Merge staging-next into Linus's tree 2010-08-05 14:18:03 -07:00
wlags49_h2 Merge git://git.kernel.org/pub/scm/linux/kernel/git/brodo/pcmcia-2.6 2010-08-06 12:25:06 -07:00
wlags49_h25 Staging: wlags49_h2, wlags49_h25: fixed Kconfig dependencies 2010-06-04 13:38:57 -07:00
wlan-ng Staging: wlan-ng: Update prism2_set_tx_power() to use mBm 2010-08-05 14:18:29 -07:00
xgifb Staging: xgifb: fix lots of sparse warnings 2010-08-31 14:51:53 -07:00
zram Staging: zram: fix build errors, depends on BLOCK 2010-06-24 14:15:07 -07:00
Kconfig Staging: Add SBE 2T3E3 WAN driver 2010-08-30 17:36:50 -07:00
Makefile Staging: mrst-touchscreen: Fix wrong Makefile config 2010-08-31 15:14:15 -07:00
staging.c Staging: workaround build system bug 2008-10-13 14:32:52 -07:00