mirror of https://gitee.com/openkylin/linux.git
staging: rtl8712: Remove unnecessary parentheses.
Removed unnecessary parentheses around pointers to fix the following checkpatch issues: CHECK: Unnecessary parentheses around padapter->xmitpriv CHECK: Unnecessary parentheses around padapter->recvpriv Signed-off-by: Varsha Rao <rvarsha016@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
9de60ba959
commit
6e3a0785ea
|
@ -185,8 +185,8 @@ static int r871x_net_set_mac_address(struct net_device *pnetdev, void *p)
|
|||
static struct net_device_stats *r871x_net_get_stats(struct net_device *pnetdev)
|
||||
{
|
||||
struct _adapter *padapter = netdev_priv(pnetdev);
|
||||
struct xmit_priv *pxmitpriv = &(padapter->xmitpriv);
|
||||
struct recv_priv *precvpriv = &(padapter->recvpriv);
|
||||
struct xmit_priv *pxmitpriv = &padapter->xmitpriv;
|
||||
struct recv_priv *precvpriv = &padapter->recvpriv;
|
||||
|
||||
padapter->stats.tx_packets = pxmitpriv->tx_pkts;
|
||||
padapter->stats.rx_packets = precvpriv->rx_pkts;
|
||||
|
|
Loading…
Reference in New Issue