mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-06 07:34:03 -04:00
staging: rtl8723bs: Remove unused function rtl8723bs_inirp_init
Remove unused function rtl8723bs_inirp_init and belonging unused function pointer in struct hal_ops inirp_init. Signed-off-by: Philipp Hortmann <philipp.g.hortmann@gmail.com> Reviewed-by: Dan Carpenter <dan.carpenter@linaro.org> Link: https://lore.kernel.org/r/617f5fe59abf5f44c70566db60cc624e304c678f.1726339782.git.philipp.g.hortmann@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
ffac46b81f
commit
8d8d7dd53b
@@ -937,11 +937,6 @@ static u32 rtl8723bs_hal_deinit(struct adapter *padapter)
|
||||
return _SUCCESS;
|
||||
}
|
||||
|
||||
static u32 rtl8723bs_inirp_init(struct adapter *padapter)
|
||||
{
|
||||
return _SUCCESS;
|
||||
}
|
||||
|
||||
static u32 rtl8723bs_inirp_deinit(struct adapter *padapter)
|
||||
{
|
||||
return _SUCCESS;
|
||||
@@ -1272,7 +1267,6 @@ void rtl8723bs_set_hal_ops(struct adapter *padapter)
|
||||
pHalFunc->hal_init = &rtl8723bs_hal_init;
|
||||
pHalFunc->hal_deinit = &rtl8723bs_hal_deinit;
|
||||
|
||||
pHalFunc->inirp_init = &rtl8723bs_inirp_init;
|
||||
pHalFunc->inirp_deinit = &rtl8723bs_inirp_deinit;
|
||||
|
||||
pHalFunc->init_xmit_priv = &rtl8723bs_init_xmit_priv;
|
||||
|
||||
@@ -167,7 +167,6 @@ struct hal_ops {
|
||||
|
||||
void (*free_hal_data)(struct adapter *padapter);
|
||||
|
||||
u32 (*inirp_init)(struct adapter *padapter);
|
||||
u32 (*inirp_deinit)(struct adapter *padapter);
|
||||
|
||||
s32 (*init_xmit_priv)(struct adapter *padapter);
|
||||
|
||||
Reference in New Issue
Block a user