git: if_tun: Remove redundant assignment of 'ifp->if_type'

Aaron LI aly at crater.dragonflybsd.org
Wed Nov 15 17:42:20 PST 2023


commit ebc3dd460ef06977154606713ed5e55b0d1d005c
Author: Aaron LI <aly at aaronly.me>
Date:   Wed Nov 15 16:35:47 2023 +0800

    if_tun: Remove redundant assignment of 'ifp->if_type'
    
    It's already set by if_alloc(IFT_PPP).

Summary of changes:
 sys/net/tun/if_tun.c | 1 -
 1 file changed, 1 deletion(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/ebc3dd460ef06977154606713ed5e55b0d1d005c


-- 
DragonFly BSD source repository


More information about the Commits mailing list