qlcnic: remove duplicate QLC_83XX_GET_LSO_CAPABILITY define
authorDan Carpenter <dan.carpenter@oracle.com>
Mon, 9 Jun 2014 14:55:39 +0000 (17:55 +0300)
committerDavid S. Miller <davem@davemloft.net>
Wed, 11 Jun 2014 22:01:30 +0000 (15:01 -0700)
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@oracle.com>
Acked-by: Sony Chacko <sony.chacko@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.h

index 97784d0..2bf101a 100644 (file)
@@ -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)