summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/dtc.c
diff options
context:
space:
mode:
authorFinn Thain <fthain@telegraphics.com.au>2016-01-03 06:05:46 +0100
committerMartin K. Petersen <martin.petersen@oracle.com>2016-01-07 03:43:02 +0100
commit161c0059a2a80aefe7000d9ab7ce5c36e5463b5f (patch)
treeb33b9b25a534fcce777d46ae22127d5cb3fafc7c /drivers/scsi/dtc.c
parentncr5380: Fix off-by-one bug in extended_msg[] bounds check (diff)
downloadlinux-161c0059a2a80aefe7000d9ab7ce5c36e5463b5f.tar.xz
linux-161c0059a2a80aefe7000d9ab7ce5c36e5463b5f.zip
ncr5380: Cleanup #include directives
Remove unused includes (stat.h, signal.h, proc_fs.h) and move includes needed by the core drivers into the common header (delay.h etc). Signed-off-by: Finn Thain <fthain@telegraphics.com.au> Reviewed-by: Hannes Reinecke <hare@suse.com> Tested-by: Ondrej Zary <linux@rainbow-software.org> Tested-by: Michael Schmitz <schmitzmic@gmail.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/dtc.c')
-rw-r--r--drivers/scsi/dtc.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/scsi/dtc.c b/drivers/scsi/dtc.c
index 1beefdbcbea8..6c96dad5cf23 100644
--- a/drivers/scsi/dtc.c
+++ b/drivers/scsi/dtc.c
@@ -46,15 +46,13 @@
#include <linux/module.h>
-#include <linux/signal.h>
#include <linux/blkdev.h>
-#include <linux/delay.h>
-#include <linux/stat.h>
#include <linux/string.h>
#include <linux/init.h>
#include <linux/interrupt.h>
#include <linux/io.h>
#include <scsi/scsi_host.h>
+
#include "dtc.h"
#define AUTOPROBE_IRQ
#include "NCR5380.h"