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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 *

_______________________________________________
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxx
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel




[Index of Archives]     [Linux Driver Backports]     [DMA Engine]     [Linux GPIO]     [Linux SPI]     [Video for Linux]     [Linux USB Devel]     [Linux Coverity]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux