diff options
author | Gustavo Padovan <gustavo.padovan@collabora.co.uk> | 2012-05-23 03:04:18 -0400 |
---|---|---|
committer | Johan Hedberg <johan.hedberg@intel.com> | 2012-06-04 23:34:07 -0400 |
commit | 6039aa73a1323edc2d6d93a22505d4dc28f38e3f (patch) | |
tree | fd1e0de2e823a0fa53234685cd21bf0f5e4b1a4d /net/bluetooth/hci_sock.c | |
parent | 4f42a8cd4905e69ba4dd694d9338aeee1bb7e9ab (diff) |
Bluetooth: Remove most of the inline usage
Only obvious cases were left as inline, mostly oneline functions.
Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'net/bluetooth/hci_sock.c')
-rw-r--r-- | net/bluetooth/hci_sock.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/net/bluetooth/hci_sock.c b/net/bluetooth/hci_sock.c index bdf51d1d2c19..89767ad095de 100644 --- a/net/bluetooth/hci_sock.c +++ b/net/bluetooth/hci_sock.c | |||
@@ -496,7 +496,8 @@ static int hci_sock_blacklist_del(struct hci_dev *hdev, void __user *arg) | |||
496 | } | 496 | } |
497 | 497 | ||
498 | /* Ioctls that require bound socket */ | 498 | /* Ioctls that require bound socket */ |
499 | static inline int hci_sock_bound_ioctl(struct sock *sk, unsigned int cmd, unsigned long arg) | 499 | static int hci_sock_bound_ioctl(struct sock *sk, unsigned int cmd, |
500 | unsigned long arg) | ||
500 | { | 501 | { |
501 | struct hci_dev *hdev = hci_pi(sk)->hdev; | 502 | struct hci_dev *hdev = hci_pi(sk)->hdev; |
502 | 503 | ||
@@ -712,7 +713,8 @@ static int hci_sock_getname(struct socket *sock, struct sockaddr *addr, int *add | |||
712 | return 0; | 713 | return 0; |
713 | } | 714 | } |
714 | 715 | ||
715 | static inline void hci_sock_cmsg(struct sock *sk, struct msghdr *msg, struct sk_buff *skb) | 716 | static void hci_sock_cmsg(struct sock *sk, struct msghdr *msg, |
717 | struct sk_buff *skb) | ||
716 | { | 718 | { |
717 | __u32 mask = hci_pi(sk)->cmsg_mask; | 719 | __u32 mask = hci_pi(sk)->cmsg_mask; |
718 | 720 | ||