diff options
Diffstat (limited to 'net/ieee802154/af_ieee802154.c')
-rw-r--r-- | net/ieee802154/af_ieee802154.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/ieee802154/af_ieee802154.c b/net/ieee802154/af_ieee802154.c index 26da1e179737..d0a1282cdf43 100644 --- a/net/ieee802154/af_ieee802154.c +++ b/net/ieee802154/af_ieee802154.c | |||
@@ -99,6 +99,7 @@ static int ieee802154_sock_release(struct socket *sock) | |||
99 | } | 99 | } |
100 | return 0; | 100 | return 0; |
101 | } | 101 | } |
102 | |||
102 | static int ieee802154_sock_sendmsg(struct kiocb *iocb, struct socket *sock, | 103 | static int ieee802154_sock_sendmsg(struct kiocb *iocb, struct socket *sock, |
103 | struct msghdr *msg, size_t len) | 104 | struct msghdr *msg, size_t len) |
104 | { | 105 | { |
@@ -231,7 +232,6 @@ static const struct proto_ops ieee802154_dgram_ops = { | |||
231 | #endif | 232 | #endif |
232 | }; | 233 | }; |
233 | 234 | ||
234 | |||
235 | /* Create a socket. Initialise the socket, blank the addresses | 235 | /* Create a socket. Initialise the socket, blank the addresses |
236 | * set the state. | 236 | * set the state. |
237 | */ | 237 | */ |
@@ -320,7 +320,6 @@ drop: | |||
320 | return NET_RX_DROP; | 320 | return NET_RX_DROP; |
321 | } | 321 | } |
322 | 322 | ||
323 | |||
324 | static struct packet_type ieee802154_packet_type = { | 323 | static struct packet_type ieee802154_packet_type = { |
325 | .type = htons(ETH_P_IEEE802154), | 324 | .type = htons(ETH_P_IEEE802154), |
326 | .func = ieee802154_rcv, | 325 | .func = ieee802154_rcv, |
@@ -354,6 +353,7 @@ err_dgram: | |||
354 | out: | 353 | out: |
355 | return rc; | 354 | return rc; |
356 | } | 355 | } |
356 | |||
357 | static void __exit af_ieee802154_remove(void) | 357 | static void __exit af_ieee802154_remove(void) |
358 | { | 358 | { |
359 | dev_remove_pack(&ieee802154_packet_type); | 359 | dev_remove_pack(&ieee802154_packet_type); |