From: David Howells Date: Sun, 4 Sep 2016 12:25:21 +0000 (+0100) Subject: rxrpc Move enum rxrpc_command to sendmsg.c X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=3dc20f090d84a7b08bc1d5729c874ebbd0465468;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git rxrpc Move enum rxrpc_command to sendmsg.c Move enum rxrpc_command to sendmsg.c as it's now only used in that file. Signed-off-by: David Howells --- 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 #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