remove useless includes from scsi.h
PATCH 1/1 remove useless includes from scsi.h
drivers/scsi/scsi.h +4 -16
@@ -15,23 +15,10 @@#ifndef _SCSI_H#define _SCSI_H -#include <linux/config.h> /* for CONFIG_SCSI_LOGGING */ -#include <linux/devfs_fs_kernel.h> -#include <linux/proc_fs.h> -#include <linux/init.h> - - -/* -* Some of the public constants are being moved to this file. -* We include it here so that what came from where is transparent. -*/ +#include <linux/config.h> /* for CONFIG_SCSI_LOGGING */ +#include <linux/devfs_fs_kernel.h> /* some morons don't know struct pointers */ #include <scsi/scsi.h> -#include <linux/random.h> - -#include <asm/hardirq.h> -#include <asm/scatterlist.h> -#include <asm/io.h> /* * These are the values that the SCpnt->sc_data_direction and
@@ -396,6 +383,7 @@* Forward-declaration of structs for prototypes. */ struct Scsi_Host ; +struct scatterlist ;/* * Add some typedefs so that we can prototyope a bunch of the functions.
@@ -551,7 +541,7 @@unsigned flags; }; -extern struct dev_info scsi_static_device_list[]__initdata ; +extern struct dev_info scsi_static_device_list[];/* * scsi_dev_info_list: structure to hold black/white listed devices.