Skip to content

Commit

Permalink
atm:he - Do not initialise statics to 0.
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Shailendra Verma authored and David S. Miller committed Jun 4, 2015
1 parent 94db13f commit ffaa31d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/atm/he.c
Original file line number Diff line number Diff line change
Expand Up @@ -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[] = {
Expand Down

0 comments on commit ffaa31d

Please sign in to comment.