TRIVIAL: linux-3.15-rc5/arch/arm/mach-davinci/time.c:442: possible pointless assigment to wdtcr

Bug #1321850 reported by dcb
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Linaro
New
Undecided
Unassigned

Bug Description

[linux-3.15-rc5/arch/arm/mach-davinci/time.c:442] -> [linux-3.15-rc5/arch/arm/mach-davinci/time.c:44
3]: (performance) Variable 'wdtcr' is reassigned a value before the old one has been used.

    wdtcr = __raw_readl(base + WDTCR);
    wdtcr = (WDTCR_WDKEY_SEQ0 << WDTCR_WDKEY_SHIFT) |
        (WDTCR_WDEN_ENABLE << WDTCR_WDEN_SHIFT);
    __raw_writel(wdtcr, base + WDTCR);

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.