lkml.org 
[lkml]   [2015]   [Apr]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 4/4] lib: Remove redundant module.h includes
On Fri, 10 Apr 2015 11:05:03 -0500
Tom Zanussi <tom.zanussi@linux.intel.com> wrote:

> kallsyms.h now includes module.h, so remove module.h includes that
> were apparently there only to satisfy kallsyms use of MODULE_NAME_LEN.
>
> Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
> ---
> lib/vsprintf.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/lib/vsprintf.c b/lib/vsprintf.c
> index b235c96..a573500 100644
> --- a/lib/vsprintf.c
> +++ b/lib/vsprintf.c
> @@ -17,7 +17,7 @@
> */
>
> #include <stdarg.h>
> -#include <linux/module.h> /* for KSYM_SYMBOL_LEN */
> +#include <linux/module.h> /* for KSYM_SYMBOL_LEN */

Hmm.

-- Steve

> #include <linux/types.h>
> #include <linux/string.h>
> #include <linux/ctype.h>



\
 
 \ /
  Last update: 2015-04-10 19:01    [W:0.086 / U:0.012 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site