Commit 7c11bb40 authored by Nishka Dasgupta's avatar Nishka Dasgupta Committed by Greg Kroah-Hartman

staging: rtl8723bs: Remove rtw_btcoex_Initialize()

Remove function rtw_btcoex_Initialize as the only thing it does is call
hal_btcoex_Initialize.
Modify call sites accordingly.
Issue found with Coccinelle.
Signed-off-by: default avatarNishka Dasgupta <nishkadg.linux@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent eddd422b
...@@ -9,12 +9,6 @@ ...@@ -9,12 +9,6 @@
#include <rtw_btcoex.h> #include <rtw_btcoex.h>
#include <hal_btcoex.h> #include <hal_btcoex.h>
void rtw_btcoex_Initialize(struct adapter *padapter)
{
hal_btcoex_Initialize(padapter);
}
void rtw_btcoex_PowerOnSetting(struct adapter *padapter) void rtw_btcoex_PowerOnSetting(struct adapter *padapter)
{ {
hal_btcoex_PowerOnSetting(padapter); hal_btcoex_PowerOnSetting(padapter);
......
...@@ -15,7 +15,6 @@ ...@@ -15,7 +15,6 @@
#define PACKET_ARP 2 #define PACKET_ARP 2
#define PACKET_EAPOL 3 #define PACKET_EAPOL 3
void rtw_btcoex_Initialize(struct adapter *);
void rtw_btcoex_PowerOnSetting(struct adapter *padapter); void rtw_btcoex_PowerOnSetting(struct adapter *padapter);
void rtw_btcoex_HAL_Initialize(struct adapter *padapter, u8 bWifiOnly); void rtw_btcoex_HAL_Initialize(struct adapter *padapter, u8 bWifiOnly);
void rtw_btcoex_IpsNotify(struct adapter *, u8 type); void rtw_btcoex_IpsNotify(struct adapter *, u8 type);
......
...@@ -8,6 +8,7 @@ ...@@ -8,6 +8,7 @@
#include <drv_types.h> #include <drv_types.h>
#include <rtw_debug.h> #include <rtw_debug.h>
#include <hal_btcoex.h>
#include <linux/jiffies.h> #include <linux/jiffies.h>
#ifndef dev_to_sdio_func #ifndef dev_to_sdio_func
...@@ -378,7 +379,7 @@ static struct adapter *rtw_sdio_if1_init(struct dvobj_priv *dvobj, const struct ...@@ -378,7 +379,7 @@ static struct adapter *rtw_sdio_if1_init(struct dvobj_priv *dvobj, const struct
rtw_hal_chip_configure(padapter); rtw_hal_chip_configure(padapter);
rtw_btcoex_Initialize(padapter); hal_btcoex_Initialize(padapter);
/* 3 6. read efuse/eeprom data */ /* 3 6. read efuse/eeprom data */
rtw_hal_read_chip_info(padapter); rtw_hal_read_chip_info(padapter);
......
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