summaryrefslogtreecommitdiff
path: root/sys/arch/octeon/dev/cn30xxgmx.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/octeon/dev/cn30xxgmx.c')
-rw-r--r--sys/arch/octeon/dev/cn30xxgmx.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/arch/octeon/dev/cn30xxgmx.c b/sys/arch/octeon/dev/cn30xxgmx.c
index fb5c2a05bf2..23a810fa2b7 100644
--- a/sys/arch/octeon/dev/cn30xxgmx.c
+++ b/sys/arch/octeon/dev/cn30xxgmx.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cn30xxgmx.c,v 1.40 2017/11/20 15:13:08 visa Exp $ */
+/* $OpenBSD: cn30xxgmx.c,v 1.41 2019/09/15 07:15:14 visa Exp $ */
/*
* Copyright (c) 2007 Internet Initiative Japan, Inc.
@@ -162,8 +162,6 @@ cn30xxgmx_match(struct device *parent, void *match, void *aux)
if (strcmp(cf->cf_driver->cd_name, aa->aa_name) != 0)
return 0;
- if (cf->cf_unit != aa->aa_unitno)
- return 0;
return 1;
}