Skip to content

Commit 1b86235

Browse files
author
Al Viro
committed
[PATCH] remove bogus asm/bug.h includes.
A bunch of asm/bug.h includes are both not needed (since it will get pulled anyway) and bogus (since they are done too early). Removed. Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
1 parent 92118c7 commit 1b86235

23 files changed

Lines changed: 0 additions & 24 deletions

File tree

‎crypto/scatterwalk.c‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@
1717
#include <linux/mm.h>
1818
#include <linux/pagemap.h>
1919
#include <linux/highmem.h>
20-
#include <asm/bug.h>
2120
#include <asm/scatterlist.h>
2221
#include "internal.h"
2322
#include "scatterwalk.h"

‎drivers/cdrom/viocd.c‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,6 @@
4242
#include <linux/proc_fs.h>
4343
#include <linux/seq_file.h>
4444

45-
#include <asm/bug.h>
46-
4745
#include <asm/vio.h>
4846
#include <asm/scatterlist.h>
4947
#include <asm/iseries/hv_types.h>

‎drivers/net/hamradio/baycom_par.c‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,6 @@
8686
#include <linux/bitops.h>
8787
#include <linux/jiffies.h>
8888

89-
#include <asm/bug.h>
9089
#include <asm/system.h>
9190
#include <asm/uaccess.h>
9291

‎drivers/tc/tc.c‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@
1717
#include <linux/types.h>
1818

1919
#include <asm/addrspace.h>
20-
#include <asm/bug.h>
2120
#include <asm/errno.h>
2221
#include <asm/io.h>
2322
#include <asm/paccess.h>

‎drivers/video/backlight/backlight.c‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313
#include <linux/ctype.h>
1414
#include <linux/err.h>
1515
#include <linux/fb.h>
16-
#include <asm/bug.h>
1716

1817
static ssize_t backlight_show_power(struct class_device *cdev, char *buf)
1918
{

‎drivers/video/backlight/lcd.c‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313
#include <linux/ctype.h>
1414
#include <linux/err.h>
1515
#include <linux/fb.h>
16-
#include <asm/bug.h>
1716

1817
static ssize_t lcd_show_power(struct class_device *cdev, char *buf)
1918
{

‎drivers/video/pmag-ba-fb.c‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@
3030
#include <linux/module.h>
3131
#include <linux/types.h>
3232

33-
#include <asm/bug.h>
3433
#include <asm/io.h>
3534
#include <asm/system.h>
3635

‎drivers/video/pmagb-b-fb.c‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@
2727
#include <linux/module.h>
2828
#include <linux/types.h>
2929

30-
#include <asm/bug.h>
3130
#include <asm/io.h>
3231
#include <asm/system.h>
3332

‎fs/reiserfs/hashes.c‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@
2121
#include <linux/kernel.h>
2222
#include <linux/reiserfs_fs.h>
2323
#include <asm/types.h>
24-
#include <asm/bug.h>
2524

2625
#define DELTA 0x9E3779B9
2726
#define FULLROUNDS 10 /* 32 is overkill, 16 is strong crypto */

‎include/asm-mips/io.h‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818
#include <linux/types.h>
1919

2020
#include <asm/addrspace.h>
21-
#include <asm/bug.h>
2221
#include <asm/byteorder.h>
2322
#include <asm/cpu.h>
2423
#include <asm/cpu-features.h>

0 commit comments

Comments
 (0)