ソースを参照

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 年 前
コミット
9385c5be5c
1 ファイル変更1 行追加1 行削除
  1. 1 1
      drivers/scsi/stex.c

+ 1 - 1
drivers/scsi/stex.c

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