aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/pmcraid.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/scsi/pmcraid.c')
-rw-r--r--drivers/scsi/pmcraid.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/drivers/scsi/pmcraid.c b/drivers/scsi/pmcraid.c
index 1f8b1533d0c4..b4d6cd8cd1ad 100644
--- a/drivers/scsi/pmcraid.c
+++ b/drivers/scsi/pmcraid.c
@@ -1595,12 +1595,7 @@ static void pmcraid_handle_config_change(struct pmcraid_instance *pinstance)
1595 if (pinstance->ccn.hcam->notification_type == 1595 if (pinstance->ccn.hcam->notification_type ==
1596 NOTIFICATION_TYPE_ENTRY_CHANGED && 1596 NOTIFICATION_TYPE_ENTRY_CHANGED &&
1597 cfg_entry->resource_type == RES_TYPE_VSET) { 1597 cfg_entry->resource_type == RES_TYPE_VSET) {
1598 1598 hidden_entry = (cfg_entry->unique_flags1 & 0x80) != 0;
1599 if (fw_version <= PMCRAID_FW_VERSION_1)
1600 hidden_entry = (cfg_entry->unique_flags1 & 0x80) != 0;
1601 else
1602 hidden_entry = (cfg_entry->unique_flags1 & 0x80) != 0;
1603
1604 } else if (!pmcraid_expose_resource(fw_version, cfg_entry)) { 1599 } else if (!pmcraid_expose_resource(fw_version, cfg_entry)) {
1605 goto out_notify_apps; 1600 goto out_notify_apps;
1606 } 1601 }