mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Tom Zanussi <tom.zanussi@linux.intel.com>
To: rostedt@goodmis.org
Cc: pebolle@tiscali.nl, rientjes@google.com,
	linux-kernel@vger.kernel.org,
	Tom Zanussi <tom.zanussi@linux.intel.com>
Subject: [PATCH v4 2/6] tracing: Remove redundant module.h includes
Date: Thu, 16 Jul 2015 12:34:32 -0500	[thread overview]
Message-ID: <8d003fe6f945b9143b671c691d3ef87af16c838f.1437067551.git.tom.zanussi@linux.intel.com> (raw)
In-Reply-To: <cover.1437067551.git.tom.zanussi@linux.intel.com>
In-Reply-To: <cover.1437067551.git.tom.zanussi@linux.intel.com>

kallsyms.h now includes module.h, so remove module.h includes that
were apparently there only to satisfy kallsyms use of MODULE_NAME_LEN
(via KSYM_SYMBOL_LEN).

Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
---
 kernel/trace/trace_output.c   | 1 -
 kernel/trace/trace_syscalls.c | 1 -
 2 files changed, 2 deletions(-)

diff --git a/kernel/trace/trace_output.c b/kernel/trace/trace_output.c
index 6747d85..7876c61 100644
--- a/kernel/trace/trace_output.c
+++ b/kernel/trace/trace_output.c
@@ -5,7 +5,6 @@
  *
  */
 
-#include <linux/module.h>
 #include <linux/kallsyms.h>
 #include <linux/mutex.h>
 #include <linux/ftrace.h>
diff --git a/kernel/trace/trace_syscalls.c b/kernel/trace/trace_syscalls.c
index e9bf9c6..f2bad21 100644
--- a/kernel/trace/trace_syscalls.c
+++ b/kernel/trace/trace_syscalls.c
@@ -3,7 +3,6 @@
 #include <linux/syscalls.h>
 #include <linux/slab.h>
 #include <linux/kernel.h>
-#include <linux/module.h>	/* for MODULE_NAME_LEN via KSYM_SYMBOL_LEN */
 #include <linux/kallsyms.h>
 #include <linux/ftrace.h>
 #include <linux/perf_event.h>
-- 
1.9.3


  parent reply	other threads:[~2015-07-16 17:35 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-07-16 17:34 [PATCH v4 0/6] kallsyms header cleanup Tom Zanussi
2015-07-16 17:34 ` [PATCH v4 1/6] tracing: Remove kallsyms.h include from linux/ftrace.h Tom Zanussi
2015-07-16 17:34 ` Tom Zanussi [this message]
2015-07-16 17:34 ` [PATCH v4 3/6] lib: Remove redundant module.h includes Tom Zanussi
2015-07-16 17:34 ` [PATCH v4 4/6] fnic: " Tom Zanussi
2015-07-16 17:34 ` [PATCH v4 5/6] slub: " Tom Zanussi
2015-07-16 17:34 ` [PATCH v4 6/6] tracing: Remove unnecessary kallsyms.h and " Tom Zanussi

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=8d003fe6f945b9143b671c691d3ef87af16c838f.1437067551.git.tom.zanussi@linux.intel.com \
    --to=tom.zanussi@linux.intel.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=pebolle@tiscali.nl \
    --cc=rientjes@google.com \
    --cc=rostedt@goodmis.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®