mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-20 11:08:14 +07:00
staging: rtl8712: Remove unnecessary parentheses
Remove unnecessary parentheses between 'address-of' operators and struct members. Issues found with checkpatch.pl Signed-off-by: Dafna Hirschfeld <dafna3@gmail.com> Acked-by: Julia Lawall <julia.lawall@lip6.fr> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
e6d093719e
commit
cbe5d64f42
@ -68,7 +68,7 @@ static uint _init_intf_hdl(struct _adapter *padapter,
|
|||||||
set_intf_option(&pintf_hdl->intf_option);
|
set_intf_option(&pintf_hdl->intf_option);
|
||||||
set_intf_funs(pintf_hdl);
|
set_intf_funs(pintf_hdl);
|
||||||
set_intf_ops(&pintf_hdl->io_ops);
|
set_intf_ops(&pintf_hdl->io_ops);
|
||||||
pintf_priv->intf_dev = (u8 *)&(padapter->dvobjpriv);
|
pintf_priv->intf_dev = (u8 *)&padapter->dvobjpriv;
|
||||||
if (init_intf_priv(pintf_priv) == _FAIL)
|
if (init_intf_priv(pintf_priv) == _FAIL)
|
||||||
goto _init_intf_hdl_fail;
|
goto _init_intf_hdl_fail;
|
||||||
return _SUCCESS;
|
return _SUCCESS;
|
||||||
@ -92,7 +92,7 @@ static uint register_intf_hdl(u8 *dev, struct intf_hdl *pintfhdl)
|
|||||||
|
|
||||||
pintfhdl->intf_option = 0;
|
pintfhdl->intf_option = 0;
|
||||||
pintfhdl->adapter = dev;
|
pintfhdl->adapter = dev;
|
||||||
pintfhdl->intf_dev = (u8 *)&(adapter->dvobjpriv);
|
pintfhdl->intf_dev = (u8 *)&adapter->dvobjpriv;
|
||||||
if (!_init_intf_hdl(adapter, pintfhdl))
|
if (!_init_intf_hdl(adapter, pintfhdl))
|
||||||
goto register_intf_hdl_fail;
|
goto register_intf_hdl_fail;
|
||||||
return _SUCCESS;
|
return _SUCCESS;
|
||||||
@ -135,7 +135,7 @@ uint r8712_alloc_io_queue(struct _adapter *adapter)
|
|||||||
list_add_tail(&pio_req->list, &pio_queue->free_ioreqs);
|
list_add_tail(&pio_req->list, &pio_queue->free_ioreqs);
|
||||||
pio_req++;
|
pio_req++;
|
||||||
}
|
}
|
||||||
if ((register_intf_hdl((u8 *)adapter, &(pio_queue->intf))) == _FAIL)
|
if ((register_intf_hdl((u8 *)adapter, &pio_queue->intf)) == _FAIL)
|
||||||
goto alloc_io_queue_fail;
|
goto alloc_io_queue_fail;
|
||||||
adapter->pio_queue = pio_queue;
|
adapter->pio_queue = pio_queue;
|
||||||
return _SUCCESS;
|
return _SUCCESS;
|
||||||
|
Loading…
Reference in New Issue
Block a user