aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/r8188eu/include
diff options
context:
space:
mode:
authorMichael Straube <straube.linux@gmail.com>2022-09-09 12:02:32 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2022-09-11 13:56:59 +0200
commitdfa71c493fa12a5099fae687b767108360a93b3e (patch)
treeb6e939aff4f0b089335749c9fdaf691dfa813420 /drivers/staging/r8188eu/include
parentstaging: vt6655: remove unnecessary null check (diff)
downloadlinux-dev-dfa71c493fa12a5099fae687b767108360a93b3e.tar.xz
linux-dev-dfa71c493fa12a5099fae687b767108360a93b3e.zip
staging: r8188eu: make c2h_evt_read() static
The function c2h_evt_read() is only used in rtw_cmd.c. Make it static. This addresses the TODO item: * Remove the HAL layer and migrate its functionality into the relevant parts of the driver. Tested-by: Philipp Hortmann <philipp.g.hortmann@gmail.com> # Edimax N150 Signed-off-by: Michael Straube <straube.linux@gmail.com> Link: https://lore.kernel.org/r/20220909100232.8305-1-straube.linux@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/r8188eu/include')
-rw-r--r--drivers/staging/r8188eu/include/hal_com.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/staging/r8188eu/include/hal_com.h b/drivers/staging/r8188eu/include/hal_com.h
index e8007295cd79..cd3f845e146a 100644
--- a/drivers/staging/r8188eu/include/hal_com.h
+++ b/drivers/staging/r8188eu/include/hal_com.h
@@ -143,6 +143,4 @@ u8 MRateToHwRate(u8 rate);
void HalSetBrateCfg(struct adapter *Adapter, u8 *mBratesOS, u16 *pBrateCfg);
-s32 c2h_evt_read(struct adapter *adapter, u8 *buf);
-
#endif /* __HAL_COMMON_H__ */