linux/drivers/atm
Peter Senna Tschudin 7e910357f6 atm: idt77252: Remove redundant error check
Remove double checks, convert printk to pr_warn, and move the call to
pr_warn to the first check. The simplified version of the coccinelle
semantic patch that find this issue is as follows:

// <smpl>
@@
expression E; identifier pr; expression list es;
@@
while(...){
...
-       if (E) break;
+       if (E){
+               pr(es);
+               break;
+       }
...
}
- if(E) pr(es);
// </smpl>

Tested by compilation only.

Signed-off-by: Peter Senna Tschudin <peter.senna@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2014-05-21 15:56:26 -04:00
..
.gitignore
adummy.c atm: correct sysfs 'device' link creation and parent relationships 2010-12-10 15:45:05 -08:00
ambassador.c atm: ambassador: use NULL instead of 0 for pointer 2014-02-19 16:39:10 -05:00
ambassador.h ATM: Delete no use FILL_RX_POOLS_IN_BH marco 2011-07-08 09:06:31 -07:00
atmtcp.c hlist: drop the node parameter from iterators 2013-02-27 19:10:24 -08:00
eni.c hlist: drop the node parameter from iterators 2013-02-27 19:10:24 -08:00
eni.h eni: fix driver remove function and driver probe error path. 2012-03-16 23:13:20 -07:00
firestream.c atm: firestream: Use del_timer_sync() in teardown path 2014-03-25 21:06:02 -04:00
firestream.h atm: firestream: remove duplicate define 2013-10-21 18:46:46 -04:00
fore200e.c Drivers: atm: remove __dev* attributes. 2013-01-03 15:57:04 -08:00
fore200e.h Fix common misspellings 2011-03-31 11:26:23 -03:00
he.c atm: he: remove unnecessary pci_set_drvdata() 2013-12-10 22:31:32 -05:00
he.h atm: [he] rewrite buffer handling in receive path 2010-05-31 00:27:47 -07:00
horizon.c Drivers: atm: remove __dev* attributes. 2013-01-03 15:57:04 -08:00
horizon.h
idt77105.c atm: idt77105: Use del_timer_sync() in exit path 2014-03-25 21:06:02 -04:00
idt77105.h
idt77252_tables.h
idt77252.c atm: idt77252: Remove redundant error check 2014-05-21 15:56:26 -04:00
idt77252.h Fix common misspellings 2011-03-31 11:26:23 -03:00
iphase.c Drivers: atm: remove __dev* attributes. 2013-01-03 15:57:04 -08:00
iphase.h atm/iphase: rename fregt_t -> ffreg_t 2013-02-08 14:22:05 -05:00
Kconfig Update broken web addresses in the kernel. 2010-10-18 11:03:14 +02:00
lanai.c Drivers: atm: remove __dev* attributes. 2013-01-03 15:57:04 -08:00
Makefile Drivers: atm: Makefile: replace the use of <module>-objs with <module>-y 2010-10-21 03:09:48 -07:00
midway.h
nicstar.c atm: nicstar: remove interruptible_sleep_on_timeout 2014-02-27 15:22:46 -05:00
nicstar.h atm: [nicstar] remove virt_to_bus() and support 64-bit platforms 2010-05-31 00:27:46 -07:00
nicstarmac.c atm: [nicstar] reformatted with Lindent 2010-05-31 00:27:46 -07:00
nicstarmac.copyright
solos-attrlist.c solos: Add 'Firmware' attribute for Traverse overall firmware version 2010-11-08 12:17:04 -08:00
solos-pci.c atm: solos-pci: make solos_bh() as static 2014-02-19 16:39:11 -05:00
suni.c Remove all #inclusions of asm/system.h 2012-03-28 18:30:03 +01:00
suni.h atm: [suni] add support for setting loopback and framing modes 2008-06-17 16:19:24 -07:00
tonga.h
uPD98401.h
uPD98402.c atomic: use <linux/atomic.h> 2011-07-26 16:49:47 -07:00
uPD98402.h
zatm.c Drivers: atm: remove __dev* attributes. 2013-01-03 15:57:04 -08:00
zatm.h
zeprom.h