nvme: remove dead store

rc is reinitialized before it is ever read.

Change-Id: I9abbc256fb06022f3024b0aa3827be02a273f20a
Signed-off-by: Daniel Verkamp <daniel.verkamp@intel.com>
This commit is contained in:
Daniel Verkamp 2015-09-22 09:39:00 -07:00
parent ad74310a3a
commit 4f939758ea

View File

@ -68,7 +68,6 @@ nvme_ctrlr_construct_io_qpairs(struct nvme_controller *ctrlr)
union nvme_cap_lo_register cap_lo;
int i, num_entries, num_trackers, rc;
rc = 0;
if (ctrlr->ioq != NULL) {
/*
* io_qpairs were already constructed, so just return.