Re: [PATCH] Staging: rtl8188eu: core: rtw_debug: fixed a parentheses coding style issue

From: Joe Perches
Date: Mon Dec 07 2015 - 17:17:05 EST


On Mon, 2015-12-07 at 22:02 +0000, Chris Elliott wrote:
> Removed unnecessary parentheses.
[]
> diff --git a/drivers/staging/rtl8188eu/core/rtw_debug.c b/drivers/staging/rtl8188eu/core/rtw_debug.c
[]
> @@ -149,7 +149,7 @@ int proc_get_fwstate(char *page, char **start,
>  {
>   struct net_device *dev = data;
>   struct adapter *padapter = (struct adapter *)rtw_netdev_priv(dev);

trivia:

All of these casts could be removed too as
rtw_netdev_priv(dev) is a void *

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/