浏览代码

sunrpc: remove kxdrproc_t

Remove the now unused typedef.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Christoph Hellwig 8 年之前
父节点
当前提交
35f297e537
共有 1 个文件被更改,包括 0 次插入7 次删除
  1. 0 7
      include/linux/sunrpc/xdr.h

+ 0 - 7
include/linux/sunrpc/xdr.h

@@ -34,13 +34,6 @@ struct xdr_netobj {
 	u8 *			data;
 	u8 *			data;
 };
 };
 
 
-/*
- * This is the legacy generic XDR function. rqstp is either a rpc_rqst
- * (client side) or svc_rqst pointer (server side).
- * Encode functions always assume there's enough room in the buffer.
- */
-typedef int	(*kxdrproc_t)(void *rqstp, __be32 *data, void *obj);
-
 /*
 /*
  * Basic structure for transmission/reception of a client XDR message.
  * Basic structure for transmission/reception of a client XDR message.
  * Features a header (for a linear buffer containing RPC headers
  * Features a header (for a linear buffer containing RPC headers