struct hfi1_devdata contained 2 variables which represented the numa
node the device is attached to.  Remove the duplicated one.
Reviewed-by: Ira Weiny <ira.weiny@intel.com>
Signed-off-by: Mitko Haralanov <mitko.haralanov@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
        struct timer_list rcverr_timer;
        u32 rcv_ovfl_cnt;
 
-       int assigned_node_id;
        wait_queue_head_t event_queue;
 
        /* Save the enabled LCB error bits */
 
 {
        unsigned i;
        int ret;
-       int local_node_id = pcibus_to_node(dd->pcidev->bus);
 
        /* Control context has to be always 0 */
        BUILD_BUG_ON(HFI1_CTRL_CTXT != 0);
 
-       if (local_node_id < 0)
-               local_node_id = numa_node_id();
-       dd->assigned_node_id = local_node_id;
-
        dd->rcd = kcalloc(dd->num_rcv_contexts, sizeof(*dd->rcd), GFP_KERNEL);
        if (!dd->rcd)
                goto nomem;
 
        iowait_schedule(&priv->s_iowait, ppd->hfi1_wq,
                        priv->s_sde ?
                        priv->s_sde->cpu :
-                       cpumask_first(cpumask_of_node(dd->assigned_node_id)));
+                       cpumask_first(cpumask_of_node(dd->node)));
 }
 
 /**
 
        snprintf(dd->verbs_dev.rdi.dparms.cq_name,
                 sizeof(dd->verbs_dev.rdi.dparms.cq_name),
                 "hfi1_cq%d", dd->unit);
-       dd->verbs_dev.rdi.dparms.node = dd->assigned_node_id;
+       dd->verbs_dev.rdi.dparms.node = dd->node;
 
        /* misc settings */
        dd->verbs_dev.rdi.flags = 0; /* Let rdmavt handle it all */