]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - fs/lockd/svcproc.c
sunrpc: properly type pc_encode callbacks
[karo-tx-linux.git] / fs / lockd / svcproc.c
index 204a698f7d410ec208d85a984bb6dc385ecd0c5d..14648b051eba087027187d397da7092e41191975 100644 (file)
@@ -539,7 +539,7 @@ struct nlm_void                     { int dummy; };
 #define PROC(name, xargt, xrest, argt, rest, respsize) \
  { .pc_func    = nlmsvc_proc_##name,                   \
    .pc_decode  = nlmsvc_decode_##xargt,                \
-   .pc_encode  = (kxdrproc_t) nlmsvc_encode_##xrest,   \
+   .pc_encode  = nlmsvc_encode_##xrest,                \
    .pc_release = NULL,                                 \
    .pc_argsize = sizeof(struct nlm_##argt),            \
    .pc_ressize = sizeof(struct nlm_##rest),            \