Bug 229786 - src/sys/arm/samsung/exynos/exynos5_ehci.c:363]: (warning) Identical condition
Summary: src/sys/arm/samsung/exynos/exynos5_ehci.c:363]: (warning) Identical condition
Status: New
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: CURRENT
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-07-15 15:08 UTC by David Binderman
Modified: 2018-07-15 15:23 UTC (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David Binderman 2018-07-15 15:08:19 UTC
Source code is

        if (sc->sc_flags & EHCI_SCFLG_DONEINIT)
                return (0);

        /*
         * only call ehci_detach() after ehci_init()
         */
        if (sc->sc_flags & EHCI_SCFLG_DONEINIT) {
                ehci_detach(sc);
                sc->sc_flags &= ~EHCI_SCFLG_DONEINIT;
        }