lkml.org 
[lkml]   [2015]   [Dec]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
SubjectRe: [PATCH] Staging: rtl8188eu: core: rtw_debug: fixed a parentheses coding style issue
From
Date
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 *



\
 
 \ /
  Last update: 2015-12-07 23:21    [W:0.030 / U:0.248 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site