diff options
author | Rémi Denis-Courmont <remi.denis-courmont@nokia.com> | 2011-02-25 00:14:59 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-02-25 20:19:36 +0100 |
commit | 2feb61816f7f0be57f4bc61137555e9a8cb4f322 (patch) | |
tree | ed5a4b75bdc8ebb51bfecf25e96a5555583d8949 /include/net/phonet/pep.h | |
parent | Phonet: use socket destination in pipe protocol (diff) | |
download | linux-2feb61816f7f0be57f4bc61137555e9a8cb4f322.tar.xz linux-2feb61816f7f0be57f4bc61137555e9a8cb4f322.zip |
Phonet: remove redumdant pep->pipe_state
sk->sk_state already contains the pipe state.
Signed-off-by: Rémi Denis-Courmont <remi.denis-courmont@nokia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/phonet/pep.h')
-rw-r--r-- | include/net/phonet/pep.h | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/include/net/phonet/pep.h b/include/net/phonet/pep.h index 788ccf353582..4c48ed80bc07 100644 --- a/include/net/phonet/pep.h +++ b/include/net/phonet/pep.h @@ -45,9 +45,6 @@ struct pep_sock { u8 tx_fc; /* TX flow control */ u8 init_enable; /* auto-enable at creation */ u8 aligned; -#ifdef CONFIG_PHONET_PIPECTRLR - u8 pipe_state; -#endif }; static inline struct pep_sock *pep_sk(struct sock *sk) @@ -177,12 +174,6 @@ enum { #define PNS_PIPE_DISABLED_IND_UTID 0x11 #define PNS_PEP_DISCONNECT_UTID 0x06 -/* Used for tracking state of a pipe */ -enum { - PIPE_IDLE, - PIPE_DISABLED, - PIPE_ENABLED, -}; #endif /* CONFIG_PHONET_PIPECTRLR */ #endif |