linux/drivers/net/ethernet/atheros
Peter Senna Tschudin 5570563980 net: atl1c: Change variable type to bool
The variable ret is only assigned the values true and false.
The function atl1c_read_eeprom already returns bool. Change
ret type to bool.

The simplified semantic patch that find this problem is as
follows (http://coccinelle.lip6.fr/):

@exists@
type T;
identifier b;
@@
- T
+ bool
  b = ...;
  ... when any
  b = \(true\|false\)

Signed-off-by: Peter Senna Tschudin <peter.senna@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2013-10-03 15:40:33 -04:00
..
alx alx: remove redundant D0 power state set 2013-09-13 20:10:41 -04:00
atl1c net: atl1c: Change variable type to bool 2013-10-03 15:40:33 -04:00
atl1e atheros: Remove extern from function prototypes 2013-09-24 10:09:27 -04:00
atlx atheros: Remove extern from function prototypes 2013-09-24 10:09:27 -04:00
Kconfig alx: remove NET_CORE Kconfig select 2013-07-01 13:18:19 -07:00
Makefile alx: add a simple AR816x/AR817x device driver 2013-06-17 16:04:34 -07:00