]> Pileus Git - ~andy/linux/blobdiff - drivers/scsi/sd_dif.c
[SCSI] sd: Always print actual protection_type
[~andy/linux] / drivers / scsi / sd_dif.c
index 4d17f3d35aacff87cde0885cb5cb591e60baca31..943fde7e7ffb48982fd2404d2c63b562ca8b9c3e 100644 (file)
@@ -321,7 +321,6 @@ void sd_dif_config_host(struct scsi_disk *sdkp)
                if (scsi_host_dif_capable(sdp->host, type) == 0) {
                        sd_printk(KERN_INFO, sdkp, "Type %d protection " \
                                  "unsupported by HBA. Disabling DIF.\n", type);
-                       sdkp->protection_type = 0;
                        return;
                }