Ver código fonte

[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>
Ilpo Järvinen 17 anos atrás
pai
commit
8674204a49
1 arquivos alterados com 0 adições e 5 exclusões
  1. 0 5
      net/9p/conv.c

+ 0 - 5
net/9p/conv.c

@@ -128,11 +128,6 @@ static char *buf_put_stringn(struct cbuf *buf, const char *s, u16 slen)
 	return ret;
 	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)
 static u8 buf_get_int8(struct cbuf *buf)
 {
 {
 	u8 ret = 0;
 	u8 ret = 0;