diff options
author | Catalina Mocanu <catalina.mocanu@gmail.com> | 2014-09-23 12:52:33 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-09-23 20:34:38 -0700 |
commit | 13e55e49472643b56986138da4aff115cabb111c (patch) | |
tree | c2d7158b3ef0843d50cda6641296006a0aa75883 /drivers/staging/ft1000 | |
parent | 6a7cbc38ad53815a2a2626e1b472d3b5db363e11 (diff) |
staging: ft1000-pcmcia: Don't initialise static to 0
This fixes the following checkpatch.pl error:
ERROR: do not initialise statics to 0 or NULL
Signed-off-by: Catalina Mocanu <catalina.mocanu@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/ft1000')
-rw-r--r-- | drivers/staging/ft1000/ft1000-pcmcia/ft1000_hw.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/ft1000/ft1000-pcmcia/ft1000_hw.c b/drivers/staging/ft1000/ft1000-pcmcia/ft1000_hw.c index a92bce81d2cd..2a4e2aa3059d 100644 --- a/drivers/staging/ft1000/ft1000-pcmcia/ft1000_hw.c +++ b/drivers/staging/ft1000/ft1000-pcmcia/ft1000_hw.c @@ -62,8 +62,8 @@ static struct timer_list poll_timer = { static u16 cmdbuffer[1024]; static u8 tempbuffer[1600]; -static u8 ft1000_card_present = 0; -static u8 flarion_ft1000_cnt = 0; +static u8 ft1000_card_present; +static u8 flarion_ft1000_cnt; static irqreturn_t ft1000_interrupt(int irq, void *dev_id); static void ft1000_enable_interrupts(struct net_device *dev); |