]> git.proxmox.com Git - mirror_ubuntu-disco-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)
commit6cad75a61d802c5f4f4299103b8f95aeb3ee9876
tree27893a562bd5a968335ee3f77d9b084a6fbbc2ff
parent565bae6a4a8f16459e179ebf4421c1291cf88aa5
[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