[SCSI] ses: #if 0 the unused ses_match_host()
authorAdrian Bunk <bunk@kernel.org>
Wed, 4 Mar 2009 20:06:05 +0000 (12:06 -0800)
committerJames Bottomley <James.Bottomley@HansenPartnership.com>
Fri, 3 Apr 2009 15:17:01 +0000 (10:17 -0500)
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>
drivers/scsi/ses.c

index c9146d7..4f618f4 100644 (file)
@@ -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)