linux_dsm_epyc7002/drivers/net/ethernet/atheros/atl1c
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
..
atl1c_ethtool.c atl1c: refine SERDES-clock related code 2012-04-26 05:03:32 -04:00
atl1c_hw.c net: atl1c: Change variable type to bool 2013-10-03 15:40:33 -04:00
atl1c_hw.h atl1c: fix issue of io access mode for AR8152 v2.1 2012-07-20 11:21:18 -07:00
atl1c_main.c atl1c: Fix misuse of netdev_alloc_skb in refilling rx ring 2013-07-30 18:12:07 -07:00
atl1c.h atheros: Remove extern from function prototypes 2013-09-24 10:09:27 -04:00
Makefile atl*: Move the Atheros drivers 2011-08-11 16:29:59 -07:00