summaryrefslogtreecommitdiffstats
path: root/net/nfc
diff options
context:
space:
mode:
authorFengguang Wu <fengguang.wu@intel.com>2014-05-26 00:53:10 +0200
committerSamuel Ortiz <sameo@linux.intel.com>2014-05-26 00:53:10 +0200
commitdb3287da347ad29ec8bd9e43f0386f987e9d8f98 (patch)
tree56f88ecc469ccc161ee209486140f96072273856 /net/nfc
parentcb30caf02704c757fbc6297ca483174ddffecbd0 (diff)
downloadblackbird-op-linux-db3287da347ad29ec8bd9e43f0386f987e9d8f98.tar.gz
blackbird-op-linux-db3287da347ad29ec8bd9e43f0386f987e9d8f98.zip
NFC: nfc_sock_link() can be static
CC: Hiren Tandel <hirent@marvell.com> CC: Samuel Ortiz <sameo@linux.intel.com> Signed-off-by: Fengguang Wu <fengguang.wu@intel.com> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'net/nfc')
-rw-r--r--net/nfc/rawsock.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/nfc/rawsock.c b/net/nfc/rawsock.c
index 8627c75063e2..55eefee311eb 100644
--- a/net/nfc/rawsock.c
+++ b/net/nfc/rawsock.c
@@ -31,14 +31,14 @@ static struct nfc_sock_list raw_sk_list = {
.lock = __RW_LOCK_UNLOCKED(raw_sk_list.lock)
};
-void nfc_sock_link(struct nfc_sock_list *l, struct sock *sk)
+static void nfc_sock_link(struct nfc_sock_list *l, struct sock *sk)
{
write_lock(&l->lock);
sk_add_node(sk, &l->head);
write_unlock(&l->lock);
}
-void nfc_sock_unlink(struct nfc_sock_list *l, struct sock *sk)
+static void nfc_sock_unlink(struct nfc_sock_list *l, struct sock *sk)
{
write_lock(&l->lock);
sk_del_node_init(sk);
OpenPOWER on IntegriCloud