Staging: rtl8192e: Declare variable with static
authorAriel Silver <arielsilver77@gmail.com>
Sat, 9 Mar 2024 17:47:22 +0000 (19:47 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 25 Mar 2024 18:00:39 +0000 (19:00 +0100)
commitd1a2e2cb79ca39ae879f3b839a84543f3995b96c
treed4a4d89894ae4e7ed008c7609c786ec1bf45196e
parent8baa558953e9791d84a30e4d4a03667dd7123794
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: Ariel Silver <arielsilver77@gmail.com>
Tested-by: Philipp Hortmann <philipp.g.hortmann@gmail.com>
Link: https://lore.kernel.org/r/20240309174722.3463-1-arielsilver77@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8192e/rtl8192e/rtl_dm.c