summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@kernel.org>2009-03-04 21:06:05 +0100
committerJames Bottomley <James.Bottomley@HansenPartnership.com>2009-04-03 17:17:01 +0200
commite0aae1a53133f0d7833c8f358a0ccc7055fc5b28 (patch)
treee0021895bdc382cc8489f529eb9baefcf9890a43 /drivers
parent[SCSI] use kmem_cache_zalloc instead of kmem_cache_alloc/memset (diff)
downloadlinux-e0aae1a53133f0d7833c8f358a0ccc7055fc5b28.tar.xz
linux-e0aae1a53133f0d7833c8f358a0ccc7055fc5b28.zip
[SCSI] ses: #if 0 the unused ses_match_host()
Signed-off-by: Adrian Bunk <bunk@kernel.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/scsi/ses.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/scsi/ses.c b/drivers/scsi/ses.c
index c9146d751cbf..4f618f487356 100644
--- a/drivers/scsi/ses.c
+++ b/drivers/scsi/ses.c
@@ -264,6 +264,7 @@ struct ses_host_edev {
struct enclosure_device *edev;
};
+#if 0
int ses_match_host(struct enclosure_device *edev, void *data)
{
struct ses_host_edev *sed = data;
@@ -280,6 +281,7 @@ int ses_match_host(struct enclosure_device *edev, void *data)
sed->edev = edev;
return 1;
}
+#endif /* 0 */
static void ses_process_descriptor(struct enclosure_component *ecomp,
unsigned char *desc)