Skip to content

Commit 3524c88

Browse files
martin-kaisergregkh
authored andcommitted
staging: r8188eu: make rtl8188e_process_phy_info static
rtl8188e_process_phy_info is used only in rtl8188e_rxdesc.c. Make the function static and remove its prototype from rtl8188e_recv.h. Signed-off-by: Martin Kaiser <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent e85176f commit 3524c88

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

drivers/staging/r8188eu/hal/rtl8188e_rxdesc.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ static void process_link_qual(struct adapter *padapter, struct recv_frame *prfra
4545
signal_stat->avg_val = signal_stat->total_val / signal_stat->total_num;
4646
}
4747

48-
void rtl8188e_process_phy_info(struct adapter *padapter, void *prframe)
48+
static void rtl8188e_process_phy_info(struct adapter *padapter, void *prframe)
4949
{
5050
struct recv_frame *precvframe = (struct recv_frame *)prframe;
5151

drivers/staging/r8188eu/include/rtl8188e_recv.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@ enum rx_packet_type {
3636
s32 rtl8188eu_init_recv_priv(struct adapter *padapter);
3737
void rtl8188eu_free_recv_priv(struct adapter * padapter);
3838
void rtl8188eu_recv_tasklet(unsigned long priv);
39-
void rtl8188e_process_phy_info(struct adapter * padapter, void *prframe);
4039
void update_recvframe_phyinfo_88e(struct recv_frame *fra, struct phy_stat *phy);
4140
void update_recvframe_attrib_88e(struct recv_frame *fra, struct recv_stat *stat);
4241

0 commit comments

Comments
 (0)