diff options
author | Shailendra Verma <shailendra.capricorn@gmail.com> | 2015-06-04 20:11:00 +0530 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-06-04 15:43:10 -0700 |
commit | ffaa31d7945f14edb04d7b2792a1dbd3a854a2bc (patch) | |
tree | f4874c3141e13ade2974dc5c5b06ba22d5da716f /drivers/atm | |
parent | 94db13fe5ff144ea5afcfa3a3daf38a239090acf (diff) | |
download | op-kernel-dev-ffaa31d7945f14edb04d7b2792a1dbd3a854a2bc.zip op-kernel-dev-ffaa31d7945f14edb04d7b2792a1dbd3a854a2bc.tar.gz |
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>
Diffstat (limited to 'drivers/atm')
-rw-r--r-- | drivers/atm/he.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/atm/he.c b/drivers/atm/he.c index 0237271..a8da3a5 100644 --- a/drivers/atm/he.c +++ b/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[] = { |