summaryrefslogtreecommitdiffstats
path: root/sys/dev/softraid.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/softraid.c')
-rw-r--r--sys/dev/softraid.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/sys/dev/softraid.c b/sys/dev/softraid.c
index d3f8bed46b4..fdc9f4cd64d 100644
--- a/sys/dev/softraid.c
+++ b/sys/dev/softraid.c
@@ -122,12 +122,6 @@ struct scsi_device sr_dev = {
int
sr_probe(struct device *parent, void *match, void *aux)
{
- struct sr_attach_args *maa = aux;
- struct cfdata *cf = match;
-
- if (strcmp(maa->maa_name, cf->cf_driver->cd_name))
- return (0);
-
return (1);
}