Skip to content

Commit ffaa31d

Browse files
Shailendra221188davem330
authored andcommitted
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 <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent 94db13f commit ffaa31d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/atm/he.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ static short nvpibits = -1;
117117
static short nvcibits = -1;
118118
static short rx_skb_reserve = 16;
119119
static bool irq_coalesce = true;
120-
static bool sdh = 0;
120+
static bool sdh;
121121

122122
/* Read from EEPROM = 0000 0011b */
123123
static unsigned int readtab[] = {

0 commit comments

Comments
 (0)