[SCSI] scsi_debug: make pseudo_primary static
authorAkinobu Mita <akinobu.mita@gmail.com>
Wed, 26 Feb 2014 13:56:59 +0000 (22:56 +0900)
committerJames Bottomley <JBottomley@Parallels.com>
Wed, 19 Mar 2014 18:35:57 +0000 (11:35 -0700)
As pseudo_primary is only used in scsi_debug.c, it should be static.

Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com>
Reviewed-by: Douglas Gilbert <dgilbert@interlog.com>
Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/scsi/scsi_debug.c

index bdfb9be1ec759973eb258f6ea24225895cd7a8c1..9cd211ea471968cab8a5b95b894a7c06c44cd1f3 100644 (file)
@@ -3246,7 +3246,7 @@ static struct attribute *sdebug_drv_attrs[] = {
 };
 ATTRIBUTE_GROUPS(sdebug_drv);
 
-struct device *pseudo_primary;
+static struct device *pseudo_primary;
 
 static int __init scsi_debug_init(void)
 {