compress/qat: remove unnecessary assignment
authorFiona Trahe <fiona.trahe@intel.com>
Sat, 22 Sep 2018 13:25:38 +0000 (14:25 +0100)
committerAkhil Goyal <akhil.goyal@nxp.com>
Thu, 27 Sep 2018 11:40:22 +0000 (13:40 +0200)
Same variable was assigned twice, remove one.

Fixes: 6a7ea14819e9 ("compress/qat: add xform processing")
Cc: stable@dpdk.org
Signed-off-by: Fiona Trahe <fiona.trahe@intel.com>
Acked-by: Tomasz Jozwiak <tomaszx.jozwiak@intel.com>
drivers/compress/qat/qat_comp.c

index 6f1f2dc..b9336f3 100644 (file)
@@ -145,7 +145,6 @@ qat_comp_process_response(void **op, uint8_t *resp)
                rx_op->debug_status =
                        *((uint16_t *)(&resp_msg->comn_resp.comn_error));
        } else {
-               struct qat_comp_xform *qat_xform = rx_op->private_xform;
                struct icp_qat_fw_resp_comp_pars *comp_resp =
                  (struct icp_qat_fw_resp_comp_pars *)&resp_msg->comp_resp_pars;