Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7473952e authored by Nigel Kirkland's avatar Nigel Kirkland Committed by Christoph Hellwig
Browse files

qla2xxx: Free sysfs attributes for ISP27xx.

parent 2d5a4c34
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -987,6 +987,8 @@ qla2x00_free_sysfs_attr(scsi_qla_host_t *vha, bool stop_beacon)
			continue;
		if (iter->is4GBp_only == 3 && !(IS_CNA_CAPABLE(vha->hw)))
			continue;
		if (iter->is4GBp_only == 0x27 && !IS_QLA27XX(vha->hw))
			continue;

		sysfs_remove_bin_file(&host->shost_gendev.kobj,
		    iter->attr);