Skip to contentSkip to conversation

qlcnic: remove duplicate QLC_83XX_GET_LSO_CAPABILITY define

PATCH Applied Dan Carpenter 3 participants 3 messages Jun 9, 2014 – Jun 11, 2014

Subsystems (4)
lore
Share & tools
lore
#0 lore raw

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
index 97784d0..2bf101a 100644
@@ -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)
Acked-by on v1 1/1
#1 lore raw
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 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 -0
index 97784d0..2bf101a 100644

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