summaryrefslogtreecommitdiffstats
path: root/fs/afs/cmservice.c
diff options
context:
space:
mode:
authorDavid Howells <dhowells@redhat.com>2016-08-30 04:49:29 -0400
committerDavid Howells <dhowells@redhat.com>2016-08-30 11:03:09 -0400
commit378c9c9603a48135336f9440995e5a342fbc5afa (patch)
tree4c92733af9fa62da6fe1afabb74e9a0c15940d74 /fs/afs/cmservice.c
parente34d4234b0b77a8a8b6dd7cf29aff468c288d9e4 (diff)
afs: Miscellaneous simple cleanups
Remove one #ifndef'd-out variable and a couple of excessive blank lines. Signed-off-by: David Howells <dhowells@redhat.com>
Diffstat (limited to 'fs/afs/cmservice.c')
-rw-r--r--fs/afs/cmservice.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/fs/afs/cmservice.c b/fs/afs/cmservice.c
index 85737e96ab8b..ca32d891bbc3 100644
--- a/fs/afs/cmservice.c
+++ b/fs/afs/cmservice.c
@@ -17,10 +17,6 @@
17#include "internal.h" 17#include "internal.h"
18#include "afs_cm.h" 18#include "afs_cm.h"
19 19
20#if 0
21struct workqueue_struct *afs_cm_workqueue;
22#endif /* 0 */
23
24static int afs_deliver_cb_init_call_back_state(struct afs_call *, 20static int afs_deliver_cb_init_call_back_state(struct afs_call *,
25 struct sk_buff *, bool); 21 struct sk_buff *, bool);
26static int afs_deliver_cb_init_call_back_state3(struct afs_call *, 22static int afs_deliver_cb_init_call_back_state3(struct afs_call *,
@@ -282,7 +278,6 @@ static int afs_deliver_cb_callback(struct afs_call *call, struct sk_buff *skb,
282 break; 278 break;
283 } 279 }
284 280
285
286 call->state = AFS_CALL_REPLYING; 281 call->state = AFS_CALL_REPLYING;
287 282
288 /* we'll need the file server record as that tells us which set of 283 /* we'll need the file server record as that tells us which set of
@@ -426,7 +421,6 @@ static void SRXAFSCB_ProbeUuid(struct work_struct *work)
426 421
427 _enter(""); 422 _enter("");
428 423
429
430 if (memcmp(r, &afs_uuid, sizeof(afs_uuid)) == 0) 424 if (memcmp(r, &afs_uuid, sizeof(afs_uuid)) == 0)
431 reply.match = htonl(0); 425 reply.match = htonl(0);
432 else 426 else