summaryrefslogtreecommitdiffstats
path: root/net/9p/conv.c
diff options
context:
space:
mode:
authorIlpo Järvinen2008-01-29 05:28:26 +0100
committerDavid S. Miller2008-02-01 04:27:05 +0100
commit8674204a4977b5676d229f772c23f0091de9c23c (patch)
tree367bb8fd2adb63d06b6abdfe38f19160c7418d43 /net/9p/conv.c
parent[SELinux]: Fix double free in selinux_netlbl_sock_setsid() (diff)
downloadkernel-qcow2-linux-8674204a4977b5676d229f772c23f0091de9c23c.tar.gz
kernel-qcow2-linux-8674204a4977b5676d229f772c23f0091de9c23c.tar.xz
kernel-qcow2-linux-8674204a4977b5676d229f772c23f0091de9c23c.zip
[NET] 9p: kill dead static inline buf_put_string
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@helsinki.fi> Acked-by: Eric Van Hensbergen <ericvh@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/9p/conv.c')
-rw-r--r--net/9p/conv.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/net/9p/conv.c b/net/9p/conv.c
index aa2aa9884f95..3fe35d532c87 100644
--- a/net/9p/conv.c
+++ b/net/9p/conv.c
@@ -128,11 +128,6 @@ static char *buf_put_stringn(struct cbuf *buf, const char *s, u16 slen)
return ret;
}
-static inline void buf_put_string(struct cbuf *buf, const char *s)
-{
- buf_put_stringn(buf, s, strlen(s));
-}
-
static u8 buf_get_int8(struct cbuf *buf)
{
u8 ret = 0;