mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-20 20:21:30 +00:00
Fixed the following checkpatch complaint:
ERROR: do not use assignment in if condition git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1167 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
@@ -80,7 +80,8 @@ __qla2x00_send_enable_lun(scsi_qla_host_t *ha, int enable)
|
||||
|
||||
BUG_ON(IS_FWI2_CAPABLE(ha));
|
||||
|
||||
if ((pkt = (elun_entry_t *)qla2x00_req_pkt(ha)) != NULL) {
|
||||
pkt = (elun_entry_t *)qla2x00_req_pkt(ha);
|
||||
if (pkt != NULL) {
|
||||
pkt->entry_type = ENABLE_LUN_TYPE;
|
||||
if (enable) {
|
||||
pkt->command_count = QLA2X00_COMMAND_COUNT_INIT;
|
||||
|
||||
Reference in New Issue
Block a user