]> err.no Git - linux-2.6/blobdiff - drivers/scsi/scsi_scan.c
virtio: Recycle unused recv buffer pages for large skbs in net driver
[linux-2.6] / drivers / scsi / scsi_scan.c
index fcd7455ffc39acf226233c10c3a45c1ee76537e0..196fe3af0d5efaab057619c723d54d2b3d76429c 100644 (file)
@@ -346,7 +346,7 @@ static void scsi_target_dev_release(struct device *dev)
        put_device(parent);
 }
 
-struct device_type scsi_target_type = {
+static struct device_type scsi_target_type = {
        .name =         "scsi_target",
        .release =      scsi_target_dev_release,
 };
@@ -1828,7 +1828,7 @@ void scsi_scan_host(struct Scsi_Host *shost)
        }
 
        p = kthread_run(do_scan_async, data, "scsi_scan_%d", shost->host_no);
-       if (unlikely(IS_ERR(p)))
+       if (IS_ERR(p))
                do_scan_async(data);
 }
 EXPORT_SYMBOL(scsi_scan_host);