staging/hfi1: Remove unneeded variable index
authorDean Luick <dean.luick@intel.com>
Mon, 11 Jan 2016 23:30:57 +0000 (18:30 -0500)
committerDoug Ledford <dledford@redhat.com>
Fri, 11 Mar 2016 01:37:03 +0000 (20:37 -0500)
commitc024c554aeaf6197a1869fdc79c190139182203a
tree80f52cb6eb0f2fca9474ba9b23c0b9683ddbc0c4
parenta699c6c27fbce4942bc902f42b69e03c5ce03fa9
staging/hfi1: Remove unneeded variable index

The variable "index" increments the same as dd->ndevcntrs.
Just use the later.  Remove uneeded usage of "index" in the
fill loop - it is not used there or later in the function.

Reviewed-by: Dennis Dalessandro <dennis.dalessandro@intel.com>
Signed-off-by: Dean Luick <dean.luick@intel.com>
Signed-off-by: Jubin John <jubin.john@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/staging/rdma/hfi1/chip.c