diff options
Diffstat (limited to 'include/net/sock.h')
-rw-r--r-- | include/net/sock.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/include/net/sock.h b/include/net/sock.h index a98c71ea40c5..7aa78440559a 100644 --- a/include/net/sock.h +++ b/include/net/sock.h | |||
@@ -1045,11 +1045,6 @@ struct proto { | |||
1045 | int proto_register(struct proto *prot, int alloc_slab); | 1045 | int proto_register(struct proto *prot, int alloc_slab); |
1046 | void proto_unregister(struct proto *prot); | 1046 | void proto_unregister(struct proto *prot); |
1047 | 1047 | ||
1048 | static inline bool memcg_proto_active(struct cg_proto *cg_proto) | ||
1049 | { | ||
1050 | return test_bit(MEMCG_SOCK_ACTIVE, &cg_proto->flags); | ||
1051 | } | ||
1052 | |||
1053 | #ifdef SOCK_REFCNT_DEBUG | 1048 | #ifdef SOCK_REFCNT_DEBUG |
1054 | static inline void sk_refcnt_debug_inc(struct sock *sk) | 1049 | static inline void sk_refcnt_debug_inc(struct sock *sk) |
1055 | { | 1050 | { |