[SCSI] qla4xxx: Remove unused code from qla4xxx_set_ifcb()
authorVikas Chaudhary <vikas.chaudhary@qlogic.com>
Mon, 16 Dec 2013 11:49:47 +0000 (06:49 -0500)
committerJames Bottomley <JBottomley@Parallels.com>
Sat, 15 Mar 2014 17:19:15 +0000 (10:19 -0700)
Removing unused code as FW does not need any value in mbox-5.

Signed-off-by: Vikas Chaudhary <vikas.chaudhary@qlogic.com>
Reviewed-by: Mike Christie <michaelc@cs.wisc.edu>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/scsi/qla4xxx/ql4_mbx.c

index 52c0a48ab41fe722b6a6f95043179d4a3d329814..8264638bb86bc14164624d4cbcd91cfc456d46a8 100644 (file)
@@ -383,7 +383,6 @@ qla4xxx_set_ifcb(struct scsi_qla_host *ha, uint32_t *mbox_cmd,
        mbox_cmd[2] = LSDW(init_fw_cb_dma);
        mbox_cmd[3] = MSDW(init_fw_cb_dma);
        mbox_cmd[4] = sizeof(struct addr_ctrl_blk);
-       mbox_cmd[5] = (IFCB_VER_MAX << 8) | IFCB_VER_MIN;
 
        if (qla4xxx_mailbox_command(ha, 6, 6, mbox_cmd, mbox_sts) !=
            QLA_SUCCESS) {