git: 535946ce1145 - main - if_re: Drop redundant assignments for ifq_maxlen and ifq_drv_maxlen
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 21 Mar 2023 04:45:50 UTC
The branch main has been updated by zlei: URL: https://cgit.FreeBSD.org/src/commit/?id=535946ce1145309e8445fd7a56667cd08d33f7a0 commit 535946ce1145309e8445fd7a56667cd08d33f7a0 Author: Zhenlei Huang <zlei@FreeBSD.org> AuthorDate: 2023-03-21 04:29:24 +0000 Commit: Zhenlei Huang <zlei@FreeBSD.org> CommitDate: 2023-03-21 04:29:24 +0000 if_re: Drop redundant assignments for ifq_maxlen and ifq_drv_maxlen Fixes: 4519a073c326b Mechanically convert if_re(4) to DrvAPI --- sys/dev/re/if_re.c | 1 - 1 file changed, 1 deletion(-) diff --git a/sys/dev/re/if_re.c b/sys/dev/re/if_re.c index 734760898e55..11708293acd5 100644 --- a/sys/dev/re/if_re.c +++ b/sys/dev/re/if_re.c @@ -1653,7 +1653,6 @@ re_attach(device_t dev) if_setcapenable(ifp, if_getcapabilities(ifp)); if_setinitfn(ifp, re_init); if_setsendqlen(ifp, RL_IFQ_MAXLEN); - if_setsendqlen(ifp, RL_IFQ_MAXLEN); if_setsendqready(ifp); NET_TASK_INIT(&sc->rl_inttask, 0, re_int_task, sc);