]> Pileus Git - ~andy/linux/blobdiff - include/linux/memcontrol.h
Merge branch 'linux-next' of git://git.kernel.org/pub/scm/linux/kernel/git/jbarnes/pci
[~andy/linux] / include / linux / memcontrol.h
index 9b296ea41bb85a5543c915dad41748c59fdd1734..f944591765eba3be0904bc820c4063c3c73183fd 100644 (file)
@@ -390,7 +390,6 @@ enum {
        OVER_LIMIT,
 };
 
-#ifdef CONFIG_INET
 struct sock;
 #ifdef CONFIG_CGROUP_MEM_RES_CTLR_KMEM
 void sock_update_memcg(struct sock *sk);
@@ -403,6 +402,5 @@ static inline void sock_release_memcg(struct sock *sk)
 {
 }
 #endif /* CONFIG_CGROUP_MEM_RES_CTLR_KMEM */
-#endif /* CONFIG_INET */
 #endif /* _LINUX_MEMCONTROL_H */