memcg: cleanup static keys decrement
[linux-2.6-block.git] / include / net / sock.h
index e13824570b0fdc8bf8d4f45de506e8a53aca7adc..ab186b1d31fffe7cc5b4888d85aca99c2d875da4 100644 (file)
@@ -1077,11 +1077,6 @@ static inline bool memcg_proto_active(struct cg_proto *cg_proto)
        return test_bit(MEMCG_SOCK_ACTIVE, &cg_proto->flags);
 }
 
-static inline bool memcg_proto_activated(struct cg_proto *cg_proto)
-{
-       return test_bit(MEMCG_SOCK_ACTIVATED, &cg_proto->flags);
-}
-
 #ifdef SOCK_REFCNT_DEBUG
 static inline void sk_refcnt_debug_inc(struct sock *sk)
 {