]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
IB/hfi1: Remove definition of unused hfi1_affinity struct
authorTadeusz Struk <tadeusz.struk@intel.com>
Thu, 8 Dec 2016 03:33:06 +0000 (19:33 -0800)
committerDoug Ledford <dledford@redhat.com>
Sun, 11 Dec 2016 20:29:42 +0000 (15:29 -0500)
The struct hfi1_affinity is not used anymore.
We use the struct hfi1_affinity_node and hfi1_affinity_node_list
instead.

Reviewed-by: Dennis Dalessandro <dennis.dalessandro@intel.com>
Signed-off-by: Tadeusz Struk <tadeusz.struk@intel.com>
Signed-off-by: Dennis Dalessandro <dennis.dalessandro@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/hfi1/affinity.h
drivers/infiniband/hw/hfi1/hfi.h

index b89ea3c0ee1afcd4a3eff2e6916fd9fb0e38d7ca..ef4ebc358619e40581010ae85041f27316828e91 100644 (file)
@@ -70,14 +70,6 @@ struct cpu_mask_set {
        uint gen;
 };
 
-struct hfi1_affinity {
-       struct cpu_mask_set def_intr;
-       struct cpu_mask_set rcv_intr;
-       struct cpumask real_cpu_mask;
-       /* spin lock to protect affinity struct */
-       spinlock_t lock;
-};
-
 struct hfi1_msix_entry;
 
 /* Initialize non-HT cpu cores mask */
index a66d198199ff8165e4c44afe8dc59c7b971d2ae3..4163596ce4c91a34d83a5f7e51454b8b84c892ba 100644 (file)
@@ -1185,7 +1185,6 @@ struct hfi1_devdata {
        /* Number of verbs contexts which have disabled ASPM */
        atomic_t aspm_disabled_cnt;
 
-       struct hfi1_affinity *affinity;
        bool eprom_available;   /* true if EPROM is available for this device */
        bool aspm_supported;    /* Does HW support ASPM */
        bool aspm_enabled;      /* ASPM state: enabled/disabled */