[<prev] [next>] [day] [month] [year] [list]
Message-Id: <20180206214232.11049-1-colin.king@canonical.com>
Date: Tue, 6 Feb 2018 21:42:32 +0000
From: Colin King <colin.king@...onical.com>
To: David Howells <dhowells@...hat.com>, linux-afs@...ts.infradead.org
Cc: kernel-janitors@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: [PATCH] afs: cell: make afs_cell_gc_delay static
From: Colin Ian King <colin.king@...onical.com>
The variable afs_cell_gc_delay is local to the source and does not need
to be in global scope, so make it static.
Cleans up sparse warning:
fs/afs/cell.c:21:24: warning: symbol 'afs_cell_gc_delay' was not
declared. Should it be static?
Signed-off-by: Colin Ian King <colin.king@...onical.com>
---
fs/afs/cell.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/fs/afs/cell.c b/fs/afs/cell.c
index 9bb921d120d0..80b8a7e8f38b 100644
--- a/fs/afs/cell.c
+++ b/fs/afs/cell.c
@@ -18,7 +18,7 @@
#include <keys/rxrpc-type.h>
#include "internal.h"
-unsigned __read_mostly afs_cell_gc_delay = 10;
+static unsigned __read_mostly afs_cell_gc_delay = 10;
static void afs_manage_cell(struct work_struct *);
--
2.15.1
Powered by blists - more mailing lists