scsi: stex: make S6flag static
authorColin Ian King <colin.king@canonical.com>
Tue, 25 Apr 2017 17:36:19 +0000 (18:36 +0100)
committerMartin K. Petersen <martin.petersen@oracle.com>
Wed, 26 Apr 2017 22:32:29 +0000 (18:32 -0400)
This module specific flag can be made static as it does not need to be
in global scope.

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Acked-by: Charles Chiou <charles.chiou@tw.promise.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/stex.c

index 0751561..9b20643 100644 (file)
@@ -363,7 +363,7 @@ struct st_card_info {
        u16 sts_count;
 };
 
-int S6flag;
+static int S6flag;
 static int stex_halt(struct notifier_block *nb, ulong event, void *buf);
 static struct notifier_block stex_notifier = {
        stex_halt, NULL, 0