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

Joe Perches joe at perches.com
Mon Dec 7 22:16:57 UTC 2015


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 *



More information about the devel mailing list