Commit fd944bde authored by Rashika Kheria's avatar Rashika Kheria Committed by David S. Miller

net: Mark function as static in 9p/client.c

Mark function as static in net/9p/client.c because it is not used
outside this file.

This eliminates the following warning in net/9p/client.c:
net/9p/client.c:207:18: warning: no previous prototype for ‘p9_fcall_alloc’ [-Wmissing-prototypes]
Signed-off-by: default avatarRashika Kheria <rashika.kheria@gmail.com>
Reviewed-by: default avatarJosh Triplett <josh@joshtriplett.org>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 872c7e6f
...@@ -204,7 +204,7 @@ static int parse_opts(char *opts, struct p9_client *clnt) ...@@ -204,7 +204,7 @@ static int parse_opts(char *opts, struct p9_client *clnt)
return ret; return ret;
} }
struct p9_fcall *p9_fcall_alloc(int alloc_msize) static struct p9_fcall *p9_fcall_alloc(int alloc_msize)
{ {
struct p9_fcall *fc; struct p9_fcall *fc;
fc = kmalloc(sizeof(struct p9_fcall) + alloc_msize, GFP_NOFS); fc = kmalloc(sizeof(struct p9_fcall) + alloc_msize, GFP_NOFS);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment