Commit d92fef8d authored by H Hartley Sweeten's avatar H Hartley Sweeten Committed by Greg Kroah-Hartman

staging: comedi: do not include <linux/delay.h> if its not needed

Some of the comedi files include this header but don't need it.
Signed-off-by: default avatarH Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 8e6b7915
...@@ -23,7 +23,6 @@ ...@@ -23,7 +23,6 @@
#include <linux/kernel.h> #include <linux/kernel.h>
#include <linux/sched.h> #include <linux/sched.h>
#include <linux/fcntl.h> #include <linux/fcntl.h>
#include <linux/delay.h>
#include <linux/ioport.h> #include <linux/ioport.h>
#include <linux/mm.h> #include <linux/mm.h>
#include <linux/slab.h> #include <linux/slab.h>
......
...@@ -35,7 +35,6 @@ This driver will not work with a 2.4 kernel. ...@@ -35,7 +35,6 @@ This driver will not work with a 2.4 kernel.
#include <linux/sched.h> #include <linux/sched.h>
#include <linux/mm.h> #include <linux/mm.h>
#include <linux/errno.h> #include <linux/errno.h>
#include <linux/delay.h>
#include <linux/interrupt.h> #include <linux/interrupt.h>
#include <linux/timex.h> #include <linux/timex.h>
#include <linux/timer.h> #include <linux/timer.h>
......
...@@ -37,7 +37,6 @@ See http://www.mccdaq.com/PDFs/Manuals/pcim-das1602-16.pdf for more details. ...@@ -37,7 +37,6 @@ See http://www.mccdaq.com/PDFs/Manuals/pcim-das1602-16.pdf for more details.
#include <linux/module.h> #include <linux/module.h>
#include <linux/pci.h> #include <linux/pci.h>
#include <linux/delay.h>
#include <linux/interrupt.h> #include <linux/interrupt.h>
#include "../comedidev.h" #include "../comedidev.h"
......
...@@ -34,7 +34,6 @@ ...@@ -34,7 +34,6 @@
*/ */
#include <linux/module.h> #include <linux/module.h>
#include <linux/delay.h>
#include "../comedidev.h" #include "../comedidev.h"
......
...@@ -40,7 +40,6 @@ Command support does not exist, but could be added for this board. ...@@ -40,7 +40,6 @@ Command support does not exist, but could be added for this board.
*/ */
#include <linux/module.h> #include <linux/module.h>
#include <linux/delay.h>
#include "../comedidev.h" #include "../comedidev.h"
......
...@@ -93,7 +93,6 @@ are not supported. ...@@ -93,7 +93,6 @@ are not supported.
#include <linux/interrupt.h> #include <linux/interrupt.h>
#include "../comedidev.h" #include "../comedidev.h"
#include <linux/delay.h>
#include <linux/isapnp.h> #include <linux/isapnp.h>
#include "ni_stc.h" #include "ni_stc.h"
......
...@@ -28,8 +28,6 @@ ...@@ -28,8 +28,6 @@
#include <linux/module.h> #include <linux/module.h>
#include "../comedidev.h" #include "../comedidev.h"
#include <linux/delay.h>
#include "8255.h" #include "8255.h"
#define SIZE_8255 4 #define SIZE_8255 4
......
...@@ -31,8 +31,6 @@ Copy/pasted/hacked from pcm724.c ...@@ -31,8 +31,6 @@ Copy/pasted/hacked from pcm724.c
#include <linux/module.h> #include <linux/module.h>
#include "../comedidev.h" #include "../comedidev.h"
#include <linux/delay.h>
#include "8255.h" #include "8255.h"
#define PCM3724_SIZE 16 #define PCM3724_SIZE 16
......
...@@ -22,7 +22,6 @@ ...@@ -22,7 +22,6 @@
#include <linux/kernel.h> #include <linux/kernel.h>
#include <linux/sched.h> #include <linux/sched.h>
#include <linux/fcntl.h> #include <linux/fcntl.h>
#include <linux/delay.h>
#include <linux/mm.h> #include <linux/mm.h>
#include <linux/io.h> #include <linux/io.h>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment