scsi: qedf: Remove unused 'num_handled' variable
[linux-2.6-microblaze.git] / drivers / scsi / qedf / qedf_main.c
index e7f2560..3b64de8 100644 (file)
@@ -2224,7 +2224,6 @@ static bool qedf_process_completions(struct qedf_fastpath *fp)
        u16 prod_idx;
        struct fcoe_cqe *cqe;
        struct qedf_io_work *io_work;
-       int num_handled = 0;
        unsigned int cpu;
        struct qedf_ioreq *io_req = NULL;
        u16 xid;
@@ -2247,7 +2246,6 @@ static bool qedf_process_completions(struct qedf_fastpath *fp)
 
        while (new_cqes) {
                fp->completions++;
-               num_handled++;
                cqe = &que->cq[que->cq_cons_idx];
 
                comp_type = (cqe->cqe_data >> FCOE_CQE_CQE_TYPE_SHIFT) &