]> git.neil.brown.name Git - history.git/commitdiff
[PATCH] remove unused includes and misleading comments from scsi_lib.c
authorChristoph Hellwig <hch@lst.de>
Tue, 19 Nov 2002 13:10:11 +0000 (07:10 -0600)
committerChristoph Hellwig <hch@lst.de>
Tue, 19 Nov 2002 13:10:11 +0000 (07:10 -0600)
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?)

drivers/scsi/scsi_lib.c

index 374bc0057c107c778c40a90ebe580c51a80959c2..2098d8766e95d605bfd97924075079654ac6927f 100644 (file)
@@ -7,49 +7,17 @@
  *                        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()
  *