summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2002-11-19 07:10:11 -0600
committerChristoph Hellwig <hch@lst.de>2002-11-19 07:10:11 -0600
commitd0a39a41bb14f2e8f86ba5b6b7af76d5df3465c4 (patch)
treeb3bff47b1e0b9e467208edf7873880d3cde65be8
parentcc8648a1c1d68e24e7c665122aa27814ca11d297 (diff)
[PATCH] remove unused includes and misleading comments from scsi_lib.c
Some of that stuff might have been right for 2.4, but.. (and btw, scsi_lib is pretty misleading, what about reusing scsi_queue.c?)
-rw-r--r--drivers/scsi/scsi_lib.c32
1 files changed, 0 insertions, 32 deletions
diff --git a/drivers/scsi/scsi_lib.c b/drivers/scsi/scsi_lib.c
index 374bc0057c10..2098d8766e95 100644
--- a/drivers/scsi/scsi_lib.c
+++ b/drivers/scsi/scsi_lib.c
@@ -7,50 +7,18 @@
* of people at Linux Expo.
*/
-/*
- * The fundamental purpose of this file is to contain a library of utility
- * routines that can be used by low-level drivers. Ultimately the idea
- * is that there should be a sufficiently rich number of functions that it
- * would be possible for a driver author to fashion a queueing function for
- * a low-level driver if they wished. Note however that this file also
- * contains the "default" versions of these functions, as we don't want to
- * go through and retrofit queueing functions into all 30 some-odd drivers.
- */
-
-#include <linux/module.h>
-
-#include <linux/sched.h>
-#include <linux/timer.h>
#include <linux/string.h>
#include <linux/slab.h>
#include <linux/bio.h>
-#include <linux/ioport.h>
#include <linux/kernel.h>
-#include <linux/stat.h>
#include <linux/blk.h>
-#include <linux/interrupt.h>
-#include <linux/delay.h>
-#include <linux/smp_lock.h>
#include <linux/completion.h>
-
-#define __KERNEL_SYSCALLS__
-
-#include <linux/unistd.h>
-
-#include <asm/system.h>
-#include <asm/irq.h>
-#include <asm/dma.h>
-
#include "scsi.h"
#include "hosts.h"
#include <scsi/scsi_ioctl.h>
/*
- * This entire source file deals with the new queueing code.
- */
-
-/*
* Function: scsi_insert_special_cmd()
*
* Purpose: Insert pre-formed command into request queue.