Skip to content

Commit

Permalink
treewide: remove unnecessary <linux/version.h> inclusion
Browse files Browse the repository at this point in the history
These files do not use any macros defined in <linux/version.h>.

Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Reviewed-by: Nicolas Schier <nicolas@fjasle.eu>
  • Loading branch information
Masahiro Yamada committed Aug 12, 2024
1 parent 33330bc commit e332a5a
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 5 deletions.
1 change: 0 additions & 1 deletion drivers/accessibility/speakup/genmap.c
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
#include <stdio.h>
#include <libgen.h>
#include <string.h>
#include <linux/version.h>
#include <ctype.h>
#include "utils.h"

Expand Down
1 change: 0 additions & 1 deletion drivers/accessibility/speakup/makemapdata.c
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
#include <stdio.h>
#include <libgen.h>
#include <string.h>
#include <linux/version.h>
#include <ctype.h>
#include "utils.h"

Expand Down
1 change: 0 additions & 1 deletion drivers/staging/media/atomisp/include/linux/atomisp.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
#define _ATOM_ISP_H

#include <linux/types.h>
#include <linux/version.h>

/* struct media_device_info.hw_revision */
#define ATOMISP_HW_REVISION_MASK 0x0000ff00
Expand Down
1 change: 0 additions & 1 deletion samples/trace_events/trace_custom_sched.c
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
#define pr_fmt(fmt) fmt

#include <linux/trace_events.h>
#include <linux/version.h>
#include <linux/module.h>
#include <linux/sched.h>

Expand Down
1 change: 0 additions & 1 deletion sound/soc/codecs/cs42l42.c
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@

#include <linux/module.h>
#include <linux/moduleparam.h>
#include <linux/version.h>
#include <linux/types.h>
#include <linux/init.h>
#include <linux/delay.h>
Expand Down

0 comments on commit e332a5a

Please sign in to comment.