diff options
author | Himanshu Jha <himanshujha199640@gmail.com> | 2017-08-28 18:57:36 +0530 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-08-29 08:24:04 +0200 |
commit | 67e3e07e82f8657d4fe702fc9c96a513db9bdce1 (patch) | |
tree | d7b9d41f0af27b316e0e76176dbba134ccf3b087 /drivers/staging/rtl8723bs/os_dep/sdio_intf.c | |
parent | 529d87b44da7778db077c3dcfa54644ff4f7e7af (diff) |
staging: rtl8723bs: os_dep: remove cast to void pointer
casting to void pointer from any pointer type and vice-versa is done
implicitly and therefore casting is not needed in such a case.
Signed-off-by: Himanshu Jha <himanshujha199640@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/rtl8723bs/os_dep/sdio_intf.c')
-rw-r--r-- | drivers/staging/rtl8723bs/os_dep/sdio_intf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/rtl8723bs/os_dep/sdio_intf.c b/drivers/staging/rtl8723bs/os_dep/sdio_intf.c index d2fb489d2e83..943324877707 100644 --- a/drivers/staging/rtl8723bs/os_dep/sdio_intf.c +++ b/drivers/staging/rtl8723bs/os_dep/sdio_intf.c @@ -138,7 +138,7 @@ static void sdio_free_irq(struct dvobj_priv *dvobj) extern unsigned int oob_irq; static irqreturn_t gpio_hostwakeup_irq_thread(int irq, void *data) { - struct adapter *padapter = (struct adapter *)data; + struct adapter *padapter = data; DBG_871X_LEVEL(_drv_always_, "gpio_hostwakeup_irq_thread\n"); /* Disable interrupt before calling handler */ /* disable_irq_nosync(oob_irq); */ |