[RFC PATCH] net: socket: sock_set_description() can be static

From: kernel test robot
Date: Sun Aug 16 2020 - 03:34:20 EST



Signed-off-by: kernel test robot <lkp@xxxxxxxxx>
---
sock.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net/core/sock.c b/net/core/sock.c
index 2cb44a0e38b77d..f145a710974b48 100644
--- a/net/core/sock.c
+++ b/net/core/sock.c
@@ -828,7 +828,7 @@ void sock_set_rcvbuf(struct sock *sk, int val)
}
EXPORT_SYMBOL(sock_set_rcvbuf);

-int sock_set_description(struct sock *sk, char __user *user_desc)
+static int sock_set_description(struct sock *sk, char __user *user_desc)
{
char *old, *desc;