diff options
author | Julia Lawall | 2010-08-28 17:41:00 +0200 |
---|---|---|
committer | Greg Kroah-Hartman | 2010-09-01 00:22:37 +0200 |
commit | 4498dbcd2d85b67e9f46790bcfee5860d2dd1762 (patch) | |
tree | 3007d7515ef931678114abe946f6fee568a9acf3 /drivers/staging/line6/toneport.h | |
parent | Staging: solo6x10: fixed assignments in if conditions in solo6010-core.c (diff) | |
download | kernel-qcow2-linux-4498dbcd2d85b67e9f46790bcfee5860d2dd1762.tar.gz kernel-qcow2-linux-4498dbcd2d85b67e9f46790bcfee5860d2dd1762.tar.xz kernel-qcow2-linux-4498dbcd2d85b67e9f46790bcfee5860d2dd1762.zip |
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>
Diffstat (limited to 'drivers/staging/line6/toneport.h')
0 files changed, 0 insertions, 0 deletions