Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1476028
| From | David Howells <dhowells@redhat.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH net-next 3/3] rxrpc Move enum rxrpc_command to sendmsg.c |
| Date | 2016-09-04 23:10 +0200 |
| Message-ID | <sdMPU-2JV-17@gated-at.bofh.it> (permalink) |
| References | <sdMPU-2JV-7@gated-at.bofh.it> |
| Organization | Red Hat UK Ltd. Registered Address: Red Hat UK Ltd, Amberley Place, 107-111 Peascod Street, Windsor, Berkshire, SI4 1TE, United Kingdom. Registered in England and Wales under Company Registration No. 3798903 |
Move enum rxrpc_command to sendmsg.c as it's now only used in that file.
Signed-off-by: David Howells <dhowells@redhat.com>
---
net/rxrpc/ar-internal.h | 7 -------
net/rxrpc/sendmsg.c | 7 +++++++
2 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/net/rxrpc/ar-internal.h b/net/rxrpc/ar-internal.h
index 464dfda2a995..bb342f5fe7e4 100644
--- a/net/rxrpc/ar-internal.h
+++ b/net/rxrpc/ar-internal.h
@@ -131,13 +131,6 @@ struct rxrpc_skb_priv {
#define rxrpc_skb(__skb) ((struct rxrpc_skb_priv *) &(__skb)->cb)
-enum rxrpc_command {
- RXRPC_CMD_SEND_DATA, /* send data message */
- RXRPC_CMD_SEND_ABORT, /* request abort generation */
- RXRPC_CMD_ACCEPT, /* [server] accept incoming call */
- RXRPC_CMD_REJECT_BUSY, /* [server] reject a call as busy */
-};
-
/*
* RxRPC security module interface
*/
diff --git a/net/rxrpc/sendmsg.c b/net/rxrpc/sendmsg.c
index 17a9ebbc2346..7376794a0308 100644
--- a/net/rxrpc/sendmsg.c
+++ b/net/rxrpc/sendmsg.c
@@ -20,6 +20,13 @@
#include <net/af_rxrpc.h>
#include "ar-internal.h"
+enum rxrpc_command {
+ RXRPC_CMD_SEND_DATA, /* send data message */
+ RXRPC_CMD_SEND_ABORT, /* request abort generation */
+ RXRPC_CMD_ACCEPT, /* [server] accept incoming call */
+ RXRPC_CMD_REJECT_BUSY, /* [server] reject a call as busy */
+};
+
/*
* wait for space to appear in the transmit/ACK window
* - caller holds the socket locked
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH net-next 0/3] rxrpc: Split output code from sendmsg code David Howells <dhowells@redhat.com> - 2016-09-04 23:10 +0200 [PATCH net-next 3/3] rxrpc Move enum rxrpc_command to sendmsg.c David Howells <dhowells@redhat.com> - 2016-09-04 23:10 +0200 [PATCH net-next 2/3] rxrpc: Rearrange net/rxrpc/sendmsg.c David Howells <dhowells@redhat.com> - 2016-09-04 23:10 +0200 [PATCH net-next 1/3] rxrpc: Split sendmsg from packet transmission code David Howells <dhowells@redhat.com> - 2016-09-04 23:10 +0200
csiph-web