mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-06 16:49:22 +00:00
Staging: rtl8712: os_intfs: Remove unnecessary cast
Explicit type conversions are not required and so, they should be removed. Semantic patch used: @@ type T; T e; identifier x; @@ * T x = (T)e; Signed-off-by: Shivani Bhardwaj <shivanib134@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
d538ae34be
commit
adc6b375aa
1 changed files with 1 additions and 1 deletions
|
@ -333,7 +333,7 @@ u8 r8712_init_drv_sw(struct _adapter *padapter)
|
||||||
|
|
||||||
u8 r8712_free_drv_sw(struct _adapter *padapter)
|
u8 r8712_free_drv_sw(struct _adapter *padapter)
|
||||||
{
|
{
|
||||||
struct net_device *pnetdev = (struct net_device *)padapter->pnetdev;
|
struct net_device *pnetdev = padapter->pnetdev;
|
||||||
|
|
||||||
r8712_free_cmd_priv(&padapter->cmdpriv);
|
r8712_free_cmd_priv(&padapter->cmdpriv);
|
||||||
r8712_free_evt_priv(&padapter->evtpriv);
|
r8712_free_evt_priv(&padapter->evtpriv);
|
||||||
|
|
Loading…
Reference in a new issue