rxrpc Move enum rxrpc_command to sendmsg.c
authorDavid Howells <dhowells@redhat.com>
Sun, 4 Sep 2016 12:25:21 +0000 (13:25 +0100)
committerDavid Howells <dhowells@redhat.com>
Sun, 4 Sep 2016 20:41:39 +0000 (21:41 +0100)
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
net/rxrpc/sendmsg.c

index 464dfda2a9957fa0ffb00c821a7a963a52adcbd1..bb342f5fe7e409abdab492cfd103d30c062e6d8d 100644 (file)
@@ -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
  */
index 17a9ebbc23466a2b27cfdc2509535293f4a6e6bc..7376794a0308d82ad05299403a1ab34d5286d6ab 100644 (file)
 #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