RE: [patch] qlcnic: remove duplicate QLC_83XX_GET_LSO_CAPABILITY define

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

 



> -----Original Message-----
> From: dept_hsg_linux_nic_dev-bounces@xxxxxxxxxxxxxxxxxxxxxxxx
> [mailto:dept_hsg_linux_nic_dev-bounces@xxxxxxxxxxxxxxxxxxxxxxxx] On
> Behalf Of Dan Carpenter
> Sent: Monday, June 09, 2014 7:56 AM
> To: Shahed Shaikh
> Cc: Dept-HSG Linux NIC Dev; kernel-janitors@xxxxxxxxxxxxxxx; netdev
> Subject: [patch] qlcnic: remove duplicate QLC_83XX_GET_LSO_CAPABILITY
> define
> 
> The QLC_83XX_GET_LSO_CAPABILITY define is cut and pasted twice so we
> can delete the second instance.
> 
> Signed-off-by: Dan Carpenter <dan.carpenter@xxxxxxxxxx>
> 
> diff --git a/drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.h
> b/drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.h
> index 97784d0..2bf101a 100644
> --- a/drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.h
> +++ b/drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.h
> @@ -418,7 +418,6 @@ enum qlcnic_83xx_states {
>  #define QLC_83XX_GET_FUNC_MODE_FROM_NPAR_INFO(val)	(val &
> 0x80000000)
>  #define QLC_83XX_GET_LRO_CAPABILITY(val)		(val & 0x20)
>  #define QLC_83XX_GET_LSO_CAPABILITY(val)		(val & 0x40)
> -#define QLC_83XX_GET_LSO_CAPABILITY(val)		(val & 0x40)
>  #define QLC_83XX_GET_HW_LRO_CAPABILITY(val)		(val & 0x400)

Acked-by: Sony Chacko <sony.chacko@xxxxxxxxxx>

Thanks,
Sony
--
To unsubscribe from this list: send the line "unsubscribe kernel-janitors" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Kernel Development]     [Kernel Announce]     [Kernel Newbies]     [Linux Networking Development]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Device Mapper]

  Powered by Linux