diff options
author | Szymon Janc <szymon.janc@tieto.com> | 2012-10-04 09:15:47 -0400 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2012-10-26 12:26:48 -0400 |
commit | 36b05114d137838508ff132ef33c799a02727e1f (patch) | |
tree | 616e338801cf59a73773b5ed62aae831c4f7cf9d /net/nfc | |
parent | f9fc36f46f7dddb19b4facf8d9e4a792b54eba53 (diff) |
NFC: Remove unneeded LLCP function return calls
There is no need for return statement at the end of function returning
void.
Signed-off-by: Szymon Janc <szymon.janc@tieto.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'net/nfc')
-rw-r--r-- | net/nfc/llcp/llcp.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/net/nfc/llcp/llcp.c b/net/nfc/llcp/llcp.c index 786cf745e87b..2e826c0d1b9a 100644 --- a/net/nfc/llcp/llcp.c +++ b/net/nfc/llcp/llcp.c | |||
@@ -824,9 +824,6 @@ static void nfc_llcp_recv_connect(struct nfc_llcp_local *local, | |||
824 | fail: | 824 | fail: |
825 | /* Send DM */ | 825 | /* Send DM */ |
826 | nfc_llcp_send_dm(local, dsap, ssap, reason); | 826 | nfc_llcp_send_dm(local, dsap, ssap, reason); |
827 | |||
828 | return; | ||
829 | |||
830 | } | 827 | } |
831 | 828 | ||
832 | int nfc_llcp_queue_i_frames(struct nfc_llcp_sock *sock) | 829 | int nfc_llcp_queue_i_frames(struct nfc_llcp_sock *sock) |
@@ -1039,8 +1036,6 @@ static void nfc_llcp_recv_dm(struct nfc_llcp_local *local, struct sk_buff *skb) | |||
1039 | sk->sk_state_change(sk); | 1036 | sk->sk_state_change(sk); |
1040 | 1037 | ||
1041 | nfc_llcp_sock_put(llcp_sock); | 1038 | nfc_llcp_sock_put(llcp_sock); |
1042 | |||
1043 | return; | ||
1044 | } | 1039 | } |
1045 | 1040 | ||
1046 | static void nfc_llcp_recv_snl(struct nfc_llcp_local *local, | 1041 | static void nfc_llcp_recv_snl(struct nfc_llcp_local *local, |
@@ -1170,8 +1165,6 @@ static void nfc_llcp_rx_work(struct work_struct *work) | |||
1170 | schedule_work(&local->tx_work); | 1165 | schedule_work(&local->tx_work); |
1171 | kfree_skb(local->rx_pending); | 1166 | kfree_skb(local->rx_pending); |
1172 | local->rx_pending = NULL; | 1167 | local->rx_pending = NULL; |
1173 | |||
1174 | return; | ||
1175 | } | 1168 | } |
1176 | 1169 | ||
1177 | void nfc_llcp_recv(void *data, struct sk_buff *skb, int err) | 1170 | void nfc_llcp_recv(void *data, struct sk_buff *skb, int err) |
@@ -1187,8 +1180,6 @@ void nfc_llcp_recv(void *data, struct sk_buff *skb, int err) | |||
1187 | local->rx_pending = skb_get(skb); | 1180 | local->rx_pending = skb_get(skb); |
1188 | del_timer(&local->link_timer); | 1181 | del_timer(&local->link_timer); |
1189 | schedule_work(&local->rx_work); | 1182 | schedule_work(&local->rx_work); |
1190 | |||
1191 | return; | ||
1192 | } | 1183 | } |
1193 | 1184 | ||
1194 | int nfc_llcp_data_received(struct nfc_dev *dev, struct sk_buff *skb) | 1185 | int nfc_llcp_data_received(struct nfc_dev *dev, struct sk_buff *skb) |