summaryrefslogtreecommitdiffstats
path: root/drivers/message/fusion
diff options
context:
space:
mode:
authorMichal Piotrowski2006-09-26 01:59:06 +0200
committerJames Bottomley2006-09-26 20:35:20 +0200
commit20a2460b4dd07fe7dc74b281fcbe18bac03830aa (patch)
treebb118434c7835f7ec53e9dd227f12219b79a7bce /drivers/message/fusion
parent[SCSI] drivers/scsi/gdth.h: removal of old scsi code (diff)
downloadkernel-qcow2-linux-20a2460b4dd07fe7dc74b281fcbe18bac03830aa.tar.gz
kernel-qcow2-linux-20a2460b4dd07fe7dc74b281fcbe18bac03830aa.tar.xz
kernel-qcow2-linux-20a2460b4dd07fe7dc74b281fcbe18bac03830aa.zip
[SCSI] drivers/message/fusion/linux_compat.h Removal of old code
Signed-off-by: Michal Piotrowski <michal.k.k.piotrowski@gmail.com> Acked-by: "Moore, Eric Dean" <Eric.Moore@lsil.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers/message/fusion')
-rw-r--r--drivers/message/fusion/linux_compat.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/drivers/message/fusion/linux_compat.h b/drivers/message/fusion/linux_compat.h
index 048b5b8610e3..bb2bf5aa0b62 100644
--- a/drivers/message/fusion/linux_compat.h
+++ b/drivers/message/fusion/linux_compat.h
@@ -6,13 +6,4 @@
#include <linux/version.h>
#include <scsi/scsi_device.h>
-#if (LINUX_VERSION_CODE < KERNEL_VERSION(2,6,6))
-static int inline scsi_device_online(struct scsi_device *sdev)
-{
- return sdev->online;
-}
-#endif
-
-
-/*}-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=*/
#endif /* _LINUX_COMPAT_H */