aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@kernel.org>2009-03-04 15:06:05 -0500
committerJames Bottomley <James.Bottomley@HansenPartnership.com>2009-04-03 11:17:01 -0400
commite0aae1a53133f0d7833c8f358a0ccc7055fc5b28 (patch)
treee0021895bdc382cc8489f529eb9baefcf9890a43 /drivers/scsi
parentebef264bd90abb8bcafe29e5ba5492da4f7d4492 (diff)
[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/scsi')
-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 {
264 struct enclosure_device *edev; 264 struct enclosure_device *edev;
265}; 265};
266 266
267#if 0
267int ses_match_host(struct enclosure_device *edev, void *data) 268int ses_match_host(struct enclosure_device *edev, void *data)
268{ 269{
269 struct ses_host_edev *sed = data; 270 struct ses_host_edev *sed = data;
@@ -280,6 +281,7 @@ int ses_match_host(struct enclosure_device *edev, void *data)
280 sed->edev = edev; 281 sed->edev = edev;
281 return 1; 282 return 1;
282} 283}
284#endif /* 0 */
283 285
284static void ses_process_descriptor(struct enclosure_component *ecomp, 286static void ses_process_descriptor(struct enclosure_component *ecomp,
285 unsigned char *desc) 287 unsigned char *desc)