]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blobdiff - fs/lockd/svc4proc.c
sunrpc: properly type pc_encode callbacks
[mirror_ubuntu-artful-kernel.git] / fs / lockd / svc4proc.c
index 804744f7528c0515309525714ab3ca79fd2691b5..fed016155791767436bc8e7f90e7cf5ef5bc9103 100644 (file)
@@ -497,7 +497,7 @@ struct nlm_void                     { int dummy; };
 #define PROC(name, xargt, xrest, argt, rest, respsize) \
  { .pc_func    = nlm4svc_proc_##name,  \
    .pc_decode  = nlm4svc_decode_##xargt,       \
-   .pc_encode  = (kxdrproc_t) nlm4svc_encode_##xrest,  \
+   .pc_encode  = nlm4svc_encode_##xrest,       \
    .pc_release = NULL,                                 \
    .pc_argsize = sizeof(struct nlm_##argt),            \
    .pc_ressize = sizeof(struct nlm_##rest),            \