summaryrefslogtreecommitdiff
path: root/drivers/infiniband/hw/hfi1/mad.h
diff options
context:
space:
mode:
authorIra Weiny <ira.weiny@intel.com>2016-07-02 02:00:49 +0300
committerDoug Ledford <dledford@redhat.com>2016-08-02 19:00:54 +0300
commitf8181697fd09bb3b6d857cef31d9af93ea2b0758 (patch)
tree833987f66d57d4b91760038b627a5ba9f500cf86 /drivers/infiniband/hw/hfi1/mad.h
parent523d939ef98fd712632d93a5a2b588e477a7565e (diff)
downloadlinux-f8181697fd09bb3b6d857cef31d9af93ea2b0758.tar.xz
IB/hfi1: Clean up port state structure definition
The definition of port state changed mid development and the old structure was kept accidentally. Remove this dead code. Reviewed-by: Dennis Dalessandro <dennis.dalessandro@intel.com> Signed-off-by: Ira Weiny <ira.weiny@intel.com> Signed-off-by: Dennis Dalessandro <dennis.dalessandro@intel.com> Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'drivers/infiniband/hw/hfi1/mad.h')
-rw-r--r--drivers/infiniband/hw/hfi1/mad.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/drivers/infiniband/hw/hfi1/mad.h b/drivers/infiniband/hw/hfi1/mad.h
index 8b734aaae88a..5aa3fd1be653 100644
--- a/drivers/infiniband/hw/hfi1/mad.h
+++ b/drivers/infiniband/hw/hfi1/mad.h
@@ -48,15 +48,8 @@
#define _HFI1_MAD_H
#include <rdma/ib_pma.h>
-#define USE_PI_LED_ENABLE 1 /*
- * use led enabled bit in struct
- * opa_port_states, if available
- */
#include <rdma/opa_smi.h>
#include <rdma/opa_port_info.h>
-#ifndef PI_LED_ENABLE_SUP
-#define PI_LED_ENABLE_SUP 0
-#endif
#include "opa_compat.h"
/*