Re: [PATCH 24/31] staging: r8188eu: Additional cleanup of include/odm.h

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

 



On Sun, Dec 22, 2013 at 05:36:55PM -0600, Larry Finger wrote:
> --- a/drivers/staging/rtl8188eu/include/odm_interface.h
> +++ b/drivers/staging/rtl8188eu/include/odm_interface.h
> @@ -51,7 +51,7 @@ ODM_REG(DIG,_pDM_Odm)
>  
>  #define _cat(_name, _ic_type, _func)					\
>  	(								\
> -		((_ic_type) & ODM_IC_11N_SERIES) ? _func##_11N(_name) :	\
> +		(_ic_type) ? _func##_11N(_name) :			\
>  		_func##_11AC(_name)					\
>  	)

The original version of this function was more readable...  I think
_ic_type is either zero or 16?

regards,
dan carpenter
_______________________________________________
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