Re: [PATCH v2 5/5] staging/wilc100 : Use BIT() macro where possible

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

 



On Fri, Sep 04, 2015 at 02:00:33PM -0700, Anish Bhatt wrote:
> Replace (1 << x) by BIT(x) as recommended by
> checkpatch.pl. Fix any resultant build warnings.
> 
> Signed-off-by: Anish Bhatt <anish@xxxxxxxxxxx>
> ---
>  drivers/staging/wilc1000/wilc_wlan.c | 72 ++++++++++++++++++------------------
>  1 file changed, 35 insertions(+), 37 deletions(-)
> 
> diff --git a/drivers/staging/wilc1000/wilc_wlan.c b/drivers/staging/wilc1000/wilc_wlan.c
> index 4b37de5..7397aa2 100644
> --- a/drivers/staging/wilc1000/wilc_wlan.c
> +++ b/drivers/staging/wilc1000/wilc_wlan.c
> @@ -305,9 +305,6 @@ typedef struct {
>  struct Ack_session_info *Free_head;
>  struct Ack_session_info *Alloc_head;
>  
> -#define TCP_FIN_MASK		(1 << 0)
> -#define TCP_SYN_MASK		(1 << 1)
> -#define TCP_Ack_MASK		(1 << 4)

This isn't "replace", it's "delete".  Please fix up.

_______________________________________________
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