diff options
author | Ivan Safonov <insafonov@gmail.com> | 2016-10-08 01:01:25 +0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-10-16 10:25:27 +0200 |
commit | 63764c7fb6e159a5b2abe782f079bf75661b2489 (patch) | |
tree | 98e89d57ae61d0a6afbd95957dbbfc55b40cc6df /drivers/staging/rtl8188eu/os_dep | |
parent | aaa27e8c4abccc2c8fc3da6e7c092fc4f7a279ed (diff) | |
download | op-kernel-dev-63764c7fb6e159a5b2abe782f079bf75661b2489.zip op-kernel-dev-63764c7fb6e159a5b2abe782f079bf75661b2489.tar.gz |
staging:r8188eu: change type of the precv_buf member of recv_priv structure
To avoid unnecessary typecast.
To use compiler type checking.
Signed-off-by: Ivan Safonov <insafonov@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/rtl8188eu/os_dep')
-rw-r--r-- | drivers/staging/rtl8188eu/os_dep/usb_ops_linux.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/rtl8188eu/os_dep/usb_ops_linux.c b/drivers/staging/rtl8188eu/os_dep/usb_ops_linux.c index 175c1ae..b87663b 100644 --- a/drivers/staging/rtl8188eu/os_dep/usb_ops_linux.c +++ b/drivers/staging/rtl8188eu/os_dep/usb_ops_linux.c @@ -521,7 +521,7 @@ void rtw_hal_inirp_deinit(struct adapter *padapter) int i; struct recv_buf *precvbuf; - precvbuf = (struct recv_buf *)padapter->recvpriv.precv_buf; + precvbuf = padapter->recvpriv.precv_buf; DBG_88E("%s\n", __func__); |