]> git.baikalelectronics.ru Git - kernel.git/commit
[SCSI] fdomain: fix PCMCIA-related warnings
authorJeff Garzik <jeff@garzik.org>
Sun, 27 May 2007 12:52:12 +0000 (08:52 -0400)
committerJames Bottomley <jejb@mulgrave.il.steeleye.com>
Sun, 27 May 2007 17:59:28 +0000 (12:59 -0500)
commit8f0cddbba9bf2ea60acd8c735daa1c76393be7f5
tree27893a562bd5a968335ee3f77d9b084a6fbbc2ff
parent1d3b0e1e23e0318da9bd3bec5cc697778a27910b
[SCSI] fdomain: fix PCMCIA-related warnings

fdomain is one of those drivers that is compiled twice, once for PCMCIA
and once for non-PCMCIA.  The resultant two-driver setup leaves a bit of
dead code and data in the non-PCMCIA case, which gcc complains about.

Shuffle ifdefs a bit to eliminate the conditionally-dead code, and
the compiler warnings.

Signed-off-by: Jeff Garzik <jeff@garzik.org>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
drivers/scsi/fdomain.c