qlcnic: remove duplicate QLC_83XX_GET_LSO_CAPABILITY define
PATCH 1/1 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.
drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.h +0 -1
@@ -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)#define QLC_83XX_GET_VLAN_ALIGN_CAPABILITY (val) (val & 0x4000)#define QLC_83XX_GET_FW_LRO_MSS_CAPABILITY (val) (val & 0x20000)
Quoted 21 lines
-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Dan Carpenter
Sent: Monday, June 09, 2014 7:56 AM
To: Shahed Shaikh
Cc: Dept-HSG Linux NIC Dev; [email protected]; netdev
Subject: [patch] qlcnic: remove duplicateQLC_83XX_GET_LSO_CAPABILITYdefineThe
QLC_83XX_GET_LSO_CAPABILITYdefine is cut and pasted twice so we can delete the second instance.Signed-off-by Dan Carpenter <[email protected]>drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.h +0
-0
drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.h enum qlcnic_83xx_states { · line 422
Quoted 6 lines
drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.h +0
-1@@ -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)
Thanks,
Sony
From: Dan Carpenter <[email protected]>
Date: Mon, 9 Jun 2014 17:55:39 +0300
Quoted 4 lines
The
QLC_83XX_GET_LSO_CAPABILITYdefine is cut and pasted twice so we can delete the second instance.Signed-off-by Dan Carpenter <[email protected]>
Applied.