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>
Mon, 1 May 2017 09:35:07 +0000 (15:05 +0530)
commit87a98325b3d4b248d4058774a39eca2515a76a9b
tree66a967b5a549c7dedd82be3c4d4b5b0655f1d7b8
parentc14efef048c60c9f1612393a470a8e62e4d94b93
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>
Change-Id: Ie613c441b3fe081bdaec8c480d3aade482873bf8
Fixes: Change-Id: Idbc3e9a0cec91c4c6e01916b967b6237645ebe59
       ("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