TRIVIAL: linux-3.15-rc5/arch/arm/mach-davinci/clock.c:413: pointless assignment to rate
Bug #1321848 reported by
dcb
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Linaro |
New
|
Undecided
|
Unassigned |
Bug Description
[linux-
416]: (performance) Variable 'rate' is reassigned a value before the old one has been used.
Source code is
unsigned long rate = clk->rate;
ctrl = __raw_readl(
rate = pll->input_rate = clk->parent->rate;
Suggest remove first assignment.
To post a comment you must log in.