UPSTREAM: net: socket: Make unnecessarily global sockfs_setattr() static
authorTobias Klauser <tklauser@distanz.ch>
Tue, 10 Jan 2017 08:30:51 +0000 (09:30 +0100)
committerAmit Pundir <amit.pundir@linaro.org>
Fri, 14 Apr 2017 13:12:27 +0000 (18:42 +0530)
commitb68cf9315f1c32c3587b6d88186e76d37e85ad0d
treedcc87c44fb9694db8c6d34ff23c43f79fa13baed
parent86cccd234760b0538b765993e3cae6255b4803a2
UPSTREAM: net: socket: Make unnecessarily global sockfs_setattr() static

Make sockfs_setattr() static as it is not used outside of net/socket.c

This fixes the following GCC warning:
net/socket.c:534:5: warning: no previous prototype for ‘sockfs_setattr’ [-Wmissing-prototypes]

Fixes: 86741ec25462 ("net: core: Add a UID field to struct sock.")
Cc: Lorenzo Colitti <lorenzo@google.com>
Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Acked-by: Lorenzo Colitti <lorenzo@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Fixes: android-4.9 commitID 81a159106e15d2a0f746368387ef486c9d2fed07
       ("UPSTREAM: net: core: Add a UID field to struct sock.")
(cherry picked from commit dc647ec88e029307e60e6bf9988056605f11051a)
Signed-off-by: Amit Pundir <amit.pundir@linaro.org>
net/socket.c