Parcourir la source

atm:he - Do not initialise statics to 0.

According to <stdbool.h> false is always '0' and
Static variables are initialised to 0 by GCC.

Signed-off-by: Shailendra Verma <shailendra.capricorn@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Shailendra Verma il y a 10 ans
Parent
commit
ffaa31d794
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      drivers/atm/he.c

+ 1 - 1
drivers/atm/he.c

@@ -117,7 +117,7 @@ static short nvpibits = -1;
 static short nvcibits = -1;
 static short rx_skb_reserve = 16;
 static bool irq_coalesce = true;
-static bool sdh = 0;
+static bool sdh;
 
 /* Read from EEPROM = 0000 0011b */
 static unsigned int readtab[] = {