mirror of
https://github.com/torvalds/linux.git
synced 2024-12-15 15:41:58 +00:00
staging: rtl8821ae: don't initialise statics to 0 or NULL in halbtc8192e2ant.c
Fixes all checkpatch errors reporting that statics shouldn't be initialised to their defualt values. Signed-off-by: Mark Einon <mark@einon.net> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
7801e8d67f
commit
5332a5e0fa
@ -236,8 +236,8 @@ static u8 halbtc8192e2ant_wifirssi_state(struct btc_coexist *btcoexist,
|
||||
|
||||
static void halbtc8192e2ant_monitor_bt_enable_disable(struct btc_coexist *btcoexist)
|
||||
{
|
||||
static bool pre_bt_disabled = false;
|
||||
static u32 bt_disable_cnt = 0;
|
||||
static bool pre_bt_disabled;
|
||||
static u32 bt_disable_cnt;
|
||||
bool bt_active = true, bt_disabled = false;
|
||||
|
||||
/* This function check if bt is disabled */
|
||||
@ -505,8 +505,8 @@ static void halbtc8192e2ant_querybt_info(struct btc_coexist *btcoexist)
|
||||
|
||||
static bool halbtc8192e2ant_iswifi_status_changed(struct btc_coexist *btcoexist)
|
||||
{
|
||||
static bool pre_wifi_busy = false;
|
||||
static bool pre_under_4way = false, pre_bt_hson = false;
|
||||
static bool pre_wifi_busy;
|
||||
static bool pre_under_4way, pre_bt_hson;
|
||||
bool wifi_busy = false, under_4way = false, bt_hson = false;
|
||||
bool wifi_connected = false;
|
||||
|
||||
@ -4118,7 +4118,7 @@ void ex_halbtc8192e2ant_halt_notify(struct btc_coexist *btcoexist)
|
||||
|
||||
void ex_halbtc8192e2ant_periodical(struct btc_coexist *btcoexist)
|
||||
{
|
||||
static u8 dis_ver_info_cnt = 0;
|
||||
static u8 dis_ver_info_cnt;
|
||||
u32 fw_ver = 0, bt_patch_ver = 0;
|
||||
struct btc_board_info *board_info = &btcoexist->board_info;
|
||||
struct btc_stack_info *stack_info = &btcoexist->stack_info;
|
||||
|
Loading…
Reference in New Issue
Block a user