Commit d38f5ba4 authored by Eva Rachel Retuya's avatar Eva Rachel Retuya Committed by Greg Kroah-Hartman

staging: wilc1000: Remove initialization of static variables

Address the following checkpatch errors:
* ERROR: do not initialise statics to false
* ERROR: do not initialise statics to 0x00
Signed-off-by: default avatarEva Rachel Retuya <eraretuya@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 1d427da1
...@@ -157,7 +157,7 @@ static u8 wlan_channel = INVALID_CHANNEL; ...@@ -157,7 +157,7 @@ static u8 wlan_channel = INVALID_CHANNEL;
static u8 curr_channel; static u8 curr_channel;
static u8 p2p_oui[] = {0x50, 0x6f, 0x9A, 0x09}; static u8 p2p_oui[] = {0x50, 0x6f, 0x9A, 0x09};
static u8 p2p_local_random = 0x01; static u8 p2p_local_random = 0x01;
static u8 p2p_recv_random = 0x00; static u8 p2p_recv_random;
static u8 p2p_vendor_spec[] = {0xdd, 0x05, 0x00, 0x08, 0x40, 0x03}; static u8 p2p_vendor_spec[] = {0xdd, 0x05, 0x00, 0x08, 0x40, 0x03};
static bool wilc_ie; static bool wilc_ie;
......
...@@ -325,7 +325,7 @@ static int wilc_wlan_txq_filter_dup_tcp_ack(struct net_device *dev) ...@@ -325,7 +325,7 @@ static int wilc_wlan_txq_filter_dup_tcp_ack(struct net_device *dev)
return 1; return 1;
} }
static bool enabled = false; static bool enabled;
void wilc_enable_tcp_ack_filter(bool value) void wilc_enable_tcp_ack_filter(bool value)
{ {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment