diff options
| author | Mark Johnston <markj@FreeBSD.org> | 2021-03-08 17:39:06 +0000 |
|---|---|---|
| committer | Mark Johnston <markj@FreeBSD.org> | 2021-03-22 15:42:18 +0000 |
| commit | 46f44865e3c9bbfa4097a37fa8d33aa2e5adc729 (patch) | |
| tree | dc973ce35e5438e62c944caa2bdb6acabe13b45b /sys/dev/bnxt | |
| parent | 3aa6cc000f7472079a5174944e70f3bd412e6c37 (diff) | |
Diffstat (limited to 'sys/dev/bnxt')
| -rw-r--r-- | sys/dev/bnxt/if_bnxt.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/dev/bnxt/if_bnxt.c b/sys/dev/bnxt/if_bnxt.c index 7811f4fdebf0..9990e26263b3 100644 --- a/sys/dev/bnxt/if_bnxt.c +++ b/sys/dev/bnxt/if_bnxt.c @@ -327,8 +327,6 @@ static struct if_shared_ctx bnxt_sctx_init = { .isc_driver_version = bnxt_driver_version, }; -if_shared_ctx_t bnxt_sctx = &bnxt_sctx_init; - /* * Device Methods */ @@ -336,7 +334,7 @@ if_shared_ctx_t bnxt_sctx = &bnxt_sctx_init; static void * bnxt_register(device_t dev) { - return bnxt_sctx; + return (&bnxt_sctx_init); } /* |
