Skip to content

Commit ef31499

Browse files
committed
fscache: Remove an unused static variable
The fscache object CREATE_OBJECT work state isn't ever referred to, so remove it and avoid the unused variable warning caused by W=1. Signed-off-by: David Howells <[email protected]> Reviewed-by: Jeff Layton <[email protected]> cc: [email protected] cc: [email protected] Link: https://lore.kernel.org/r/163214005516.2945267.7000234432243167892.stgit@warthog.procyon.org.uk/ # rfc v1 Link: https://lore.kernel.org/r/163281899704.2790286.9177774252843775348.stgit@warthog.procyon.org.uk/ # rfc v2
1 parent d9e3f82 commit ef31499

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

fs/fscache/object.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,6 @@ static WORK_STATE(INIT_OBJECT, "INIT", fscache_initialise_object);
7777
static WORK_STATE(PARENT_READY, "PRDY", fscache_parent_ready);
7878
static WORK_STATE(ABORT_INIT, "ABRT", fscache_abort_initialisation);
7979
static WORK_STATE(LOOK_UP_OBJECT, "LOOK", fscache_look_up_object);
80-
static WORK_STATE(CREATE_OBJECT, "CRTO", fscache_look_up_object);
8180
static WORK_STATE(OBJECT_AVAILABLE, "AVBL", fscache_object_available);
8281
static WORK_STATE(JUMPSTART_DEPS, "JUMP", fscache_jumpstart_dependents);
8382

0 commit comments

Comments
 (0)