This patch #if 0's the unused ses_match_host()
Signed-off-by: Adrian Bunk <[email protected]>
---
drivers/scsi/ses.c | 2 ++
1 file changed, 2 insertions(+)
a9b8c5789924c15d23282da4b2e6bf8fa98449a2 diff --git a/drivers/scsi/ses.c b/drivers/scsi/ses.c
index 2a6e4f4..9125486 100644
--- a/drivers/scsi/ses.c
+++ b/drivers/scsi/ses.c
@@ -261,6 +261,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;
@@ -277,6 +278,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)