afs: cell: make afs_cell_gc_delay static
Subsystems (2)
PATCH 1/1 afs: cell: make afs_cell_gc_delay static
From: Colin Ian King <[email protected]>
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 <[email protected]>
--- fs/afs/cell.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
fs/afs/cell.c +1 -1
@@ -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 *);
Signature · 1 line
2.15.1