summaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/hw/qib
diff options
context:
space:
mode:
authorEdwin van Vliet <edwin@cheatah.nl>2011-07-10 23:49:47 +0200
committerRoland Dreier <roland@purestorage.com>2011-07-18 20:59:23 +0200
commitac0cae4495303b8fffd3df9c7cb29c7d0c05f210 (patch)
tree12b55717839830ed2a6006aadc78891f21b52914 /drivers/infiniband/hw/qib
parentIB/qib: Remove unnecessary read of PCI_CAP_ID_EXP (diff)
downloadlinux-ac0cae4495303b8fffd3df9c7cb29c7d0c05f210.tar.xz
linux-ac0cae4495303b8fffd3df9c7cb29c7d0c05f210.zip
IB/qib: Remove double define
Signed-off-by: Edwin van Vliet <edwin@cheatah.nl> Reviewed-by: Jesper Juhl <jj@chaosbits.net> Acked-by: Mike Marciniszyn <mike.marciniszyn@qlogic.com> Signed-off-by: Roland Dreier <roland@purestorage.com>
Diffstat (limited to 'drivers/infiniband/hw/qib')
-rw-r--r--drivers/infiniband/hw/qib/qib_iba7322.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/infiniband/hw/qib/qib_iba7322.c b/drivers/infiniband/hw/qib/qib_iba7322.c
index 8ec5237031a0..821226cf6002 100644
--- a/drivers/infiniband/hw/qib/qib_iba7322.c
+++ b/drivers/infiniband/hw/qib/qib_iba7322.c
@@ -397,7 +397,6 @@ MODULE_PARM_DESC(txselect, \
#define crp_txdroppedpkt CREG_IDX(TxDroppedPktCnt)
#define crp_txhdrerr CREG_IDX(TxHeadersErrCnt)
#define crp_txlenerr CREG_IDX(TxLenErrCnt)
-#define crp_txlenerr CREG_IDX(TxLenErrCnt)
#define crp_txminmaxlenerr CREG_IDX(TxMaxMinLenErrCnt)
#define crp_txsdmadesc CREG_IDX(TxSDmaDescCnt)
#define crp_txunderrun CREG_IDX(TxUnderrunCnt)