diff options
author | 2010-10-23 16:49:00 +0000 | |
---|---|---|
committer | 2010-11-30 13:48:25 -0800 | |
commit | 235228ba21e34ba732b413c12259bac386f83283 (patch) | |
tree | 81030414fee969d5c4e2bd30de2d7b584c3e6752 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | omap3: IGEP v2: Remove igep2_config array (diff) | |
download | wireguard-linux-235228ba21e34ba732b413c12259bac386f83283.tar.xz wireguard-linux-235228ba21e34ba732b413c12259bac386f83283.zip |
omap3: IGEP v2: Improve igep2_flash_init() function
The changes are:
- Use 'for' loop instead 'while' loop.
- No need to initialize ret to 0, we're assigning it right after.
- No need to check for onenandcs < GPMC_CS_NUM here, it will always be true.
Signed-off-by: Enric Balletbo i Serra <eballetbo@gmail.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions