NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

port-arm/50594: src/sys/arch/arm/samsung/exynos_dwcmmc.c:97: possible missing code ?



>Number:         50594
>Category:       port-arm
>Synopsis:       src/sys/arch/arm/samsung/exynos_dwcmmc.c:97: possible missing code ?
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    port-arm-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Dec 27 21:35:00 +0000 2015
>Originator:     David Binderman
>Release:        cvs dated 20151227
>Organization:
>Environment:
>Description:
[src/sys/arch/arm/samsung/exynos_dwcmmc.c:97]: (style) Variable 'bus_width' is assigned a value that is never used.

   if (of_getprop_uint32(phandle, "bus-width", &bus_width)) {
        bus_width = 4;
    }

Suggest either delete the variable or use it someplace.

>How-To-Repeat:

>Fix:



Home | Main Index | Thread Index | Old Index