Skip to content

Commit

Permalink
[SCSI] scsi_debug: make pseudo_primary static
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Akinobu Mita authored and James Bottomley committed Mar 19, 2014
1 parent c45eabe commit 11ddcec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/scsi/scsi_debug.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down

0 comments on commit 11ddcec

Please sign in to comment.