Commit d1a2e2cb authored by Ariel Silver's avatar Ariel Silver Committed by Greg Kroah-Hartman

Staging: rtl8192e: Declare variable with static

Fixed sparse warning:
"'dm_rx_path_sel_table' was not declared. Should it be static?"
As dm_rx_path_sel_table is used only in rtl_dm.c it should be static.
Signed-off-by: default avatarAriel Silver <arielsilver77@gmail.com>
Tested-by: default avatarPhilipp Hortmann <philipp.g.hortmann@gmail.com>
Link: https://lore.kernel.org/r/20240309174722.3463-1-arielsilver77@gmail.comSigned-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 8baa5589
...@@ -144,7 +144,7 @@ const u8 dm_cck_tx_bb_gain_ch14[CCK_TX_BB_GAIN_TABLE_LEN][8] = { ...@@ -144,7 +144,7 @@ const u8 dm_cck_tx_bb_gain_ch14[CCK_TX_BB_GAIN_TABLE_LEN][8] = {
/*------------------------Define global variable-----------------------------*/ /*------------------------Define global variable-----------------------------*/
struct dig_t dm_digtable; struct dig_t dm_digtable;
struct drx_path_sel dm_rx_path_sel_table; static struct drx_path_sel dm_rx_path_sel_table;
/*------------------------Define global variable-----------------------------*/ /*------------------------Define global variable-----------------------------*/
......
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