From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from psmtp.com (na3sys010amx119.postini.com [74.125.245.119]) by kanga.kvack.org (Postfix) with SMTP id 643BD6B00A8 for ; Tue, 11 Sep 2012 04:12:08 -0400 (EDT) Received: by pbbro12 with SMTP id ro12so496656pbb.14 for ; Tue, 11 Sep 2012 01:12:07 -0700 (PDT) From: Sachin Kamat Subject: [PATCH] mm/memcontrol.c: Remove duplicate inclusion of sock.h file Date: Tue, 11 Sep 2012 13:38:54 +0530 Message-Id: <1347350934-17712-1-git-send-email-sachin.kamat@linaro.org> Sender: owner-linux-mm@kvack.org List-ID: To: cgroups@vger.kernel.org, linux-mm@kvack.org Cc: sachin.kamat@linaro.org, Johannes Weiner , Michal Hocko , Balbir Singh , KAMEZAWA Hiroyuki , Andrew Morton net/sock.h is included unconditionally at the beginning of the file. Hence, another conditional include is not required. Cc: Johannes Weiner Cc: Michal Hocko Cc: Balbir Singh Cc: KAMEZAWA Hiroyuki Cc: Andrew Morton Signed-off-by: Sachin Kamat --- mm/memcontrol.c | 1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/mm/memcontrol.c b/mm/memcontrol.c index 795e525..d5e76f5 100644 --- a/mm/memcontrol.c +++ b/mm/memcontrol.c @@ -413,7 +413,6 @@ struct mem_cgroup *mem_cgroup_from_css(struct cgroup_subsys_state *s) /* Writing them here to avoid exposing memcg's inner layout */ #ifdef CONFIG_MEMCG_KMEM -#include #include static bool mem_cgroup_is_root(struct mem_cgroup *memcg); -- 1.7.4.1 -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org