Prechádzať zdrojové kódy

scsi: stex: make S6flag static

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>
Colin Ian King 8 rokov pred
rodič
commit
9385c5be5c
1 zmenil súbory, kde vykonal 1 pridanie a 1 odobranie
  1. 1 1
      drivers/scsi/stex.c

+ 1 - 1
drivers/scsi/stex.c

@@ -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