staging: rtl8188eu: remove unnecessary parentheses in rtl8188eu_led.c
authorMichael Straube <straube.linux@gmail.com>
Wed, 21 Nov 2018 19:49:28 +0000 (20:49 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 22 Nov 2018 10:14:58 +0000 (11:14 +0100)
Remove unnecessary parentheses reported by checkpatch.

Signed-off-by: Michael Straube <straube.linux@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8188eu/hal/rtl8188eu_led.c

index 412b762..411649a 100644 (file)
@@ -54,16 +54,16 @@ exit:
 /*             Initialize all LED_871x objects. */
 void rtw_hal_sw_led_init(struct adapter *padapter)
 {
-       struct led_priv *pledpriv = &(padapter->ledpriv);
+       struct led_priv *pledpriv = &padapter->ledpriv;
 
-       InitLed871x(padapter, &(pledpriv->SwLed0));
+       InitLed871x(padapter, &pledpriv->SwLed0);
 }
 
 /*     Description: */
 /*             DeInitialize all LED_819xUsb objects. */
 void rtw_hal_sw_led_deinit(struct adapter *padapter)
 {
-       struct led_priv *ledpriv = &(padapter->ledpriv);
+       struct led_priv *ledpriv = &padapter->ledpriv;
 
-       DeInitLed871x(&(ledpriv->SwLed0));
+       DeInitLed871x(&ledpriv->SwLed0);
 }