diff options
| author | Patrick Mansfield <patmans@us.ibm.com> | 2002-11-20 01:26:48 -0600 |
|---|---|---|
| committer | Christoph Hellwig <hch@lst.de> | 2002-11-20 01:26:48 -0600 |
| commit | d67cf4438388d6b243ab86b0d6d9a467b6d272b4 (patch) | |
| tree | 87cc45a8268b348ed2b9fed23695454b972f754d /include | |
| parent | 996bfdf1117592bc9b6e0a6e46ed1539d97389df (diff) | |
[PATCH] remove unused includes and misleading comments from scsi_lib.c
On Sun, Nov 17, 2002 at 11:54:49PM +0100, Christoph Hellwig wrote:
> --- 1.46/drivers/scsi/scsi_lib.c Thu Nov 14 18:09:17 2002
> +++ edited/drivers/scsi/scsi_lib.c Sun Nov 17 21:37:05 2002
> @@ -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>
I had to add back the smp_lock.h include to compile with CONFIG_PREEMPT,
as kernel_locked was not defined and is used by in_atomic().
Patch against the latest scsi-misc-2.5:
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
