The following functions can become static:
p9_client_rpc()
p9_fd_rpc()
p9_conn_rpcnb()
p9_conn_cancel()
Signed-off-by: Dmitri Vorobiev <dmitri.vorobiev@gmail.com>
---
net/9p/client.c | 2 +-
net/9p/trans_fd.c | 6 +++---
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/net/9p/client.c b/net/9p/client.c
index 84e087e..0a20095 100644
--- a/net/9p/client.c
+++ b/net/9p/client.c
@@ -117,7 +117,7 @@ static void parse_opts(char *options, struct p9_client *clnt)
* @tc: request to be sent
* @rc: pointer where a pointer to the response is stored
*/
-int
+static int
p9_client_rpc(struct p9_client *c, struct p9_fcall *tc,
struct p9_fcall **rc)
{
diff --git a/net/9p/trans_fd.c b/net/9p/trans_fd.c
index f624dff..7ec221f 100644
--- a/net/9p/trans_fd.c
+++ b/net/9p/trans_fd.c
@@ -965,7 +965,7 @@ p9_conn_rpc_cb(struct p9_req *req, void *a)
* @tc: request to be sent
* @rc: pointer where a pointer to the response is stored
*/
-int
+static int
p9_fd_rpc(struct p9_trans *t, struct p9_fcall *tc, struct p9_fcall **rc)
{
struct p9_trans_fd *p = t->priv;
@@ -1043,7 +1043,7 @@ p9_fd_rpc(struct p9_trans *t, struct p9_fcall *tc, struct p9_fcall **rc)
* @cb: callback function to be called when response arrives
* @cba: value to pass to the callback function
*/
-int p9_conn_rpcnb(struct p9_conn *m, struct p9_fcall *tc,
+static int p9_conn_rpcnb(struct p9_conn *m, struct p9_fcall *tc,
p9_conn_req_callback cb, void *a)
{
int err;
@@ -1066,7 +1066,7 @@ int p9_conn_rpcnb(struct p9_conn *m, struct p9_fcall *tc,
* @m: mux data
* @err: error code
*/
-void p9_conn_cancel(struct p9_conn *m, int err)
+static void p9_conn_cancel(struct p9_conn *m, int err)
{
struct p9_req *req, *rtmp;
LIST_HEAD(cancel_list);
--
1.5.3
--
| Tony Lindgren | [PATCH 26/90] ARM: OMAP: abstract debug card setup (smc, leds) |
| Greg Kroah-Hartman | [PATCH 001/196] Chinese: Add the known_regression URI to the HOWTO |
| Vladislav Bolkhovitin | Re: Integration of SCST in the mainstream Linux kernel |
| Jesper Juhl | Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3 |
git: | |
| Gerrit Renker | [PATCH 27/37] dccp: Integration of dynamic feature activation - part 2 (server side) |
| Jarek Poplawski | [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock(). |
| David Miller | [GIT]: Networking |
| Frans Pop | svc: failed to register lockdv1 RPC service (errno 97). |
