[Bug 263783] USB MBIM: Support for LTE/4G USB modems (MBIM)
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 20 Oct 2024 14:54:52 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=263783 --- Comment #32 from Zhenlei Huang <zlei@FreeBSD.org> --- `if_alloc()` never fails. All supported branches ( main, stable/14, stable/13 ) now have the same behavior. So no need to do NULL check any more. ``` sc->sc_if = ifp = if_alloc(IFT_MBIM); - if (ifp == NULL) { - device_printf(sc->sc_dev, "Could not allocate a network interface\n"); - goto fail; - } ``` FYI https://reviews.freebsd.org/D45740 . -- You are receiving this mail because: You are the assignee for the bug.