Re: PATCH 2.5.2-pre9 scsi cleanup

From: GOTO Masanori (gotom@debian.or.jp)
Date: Tue Jan 08 2002 - 23:05:37 EST


At Tue, 08 Jan 2002 10:29:48 +0100,
Martin Dalecki <dalecki@evision-ventures.com> wrote:
> The attached patch does the following.
>
> 1. Clean up some ifdef confusion in do_mount
>
> 2. Clean up the scsi code to make ppa.c work.
>
> 3. Clean up some unneccessary unneeded globals from scsi code.

I don't understand why below removal are needed.
Do you think to replace with function like scsi_device_types()?

> -const char *const scsi_device_types[MAX_SCSI_DEVICE_CODE] =
> -{
> - "Direct-Access ",
> - "Sequential-Access",
> - "Printer ",
> - "Processor ",
> - "WORM ",
> - "CD-ROM ",
> - "Scanner ",
> - "Optical Device ",
> - "Medium Changer ",
> - "Communications ",
> - "Unknown ",
> - "Unknown ",
> - "Unknown ",
> - "Enclosure ",
> -};
> -
> -/*

-- gotom
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Tue Jan 15 2002 - 21:00:25 EST