diff options
author | [email protected] <[email protected]> | 2013-08-16 15:43:36 +0800 |
---|---|---|
committer | Artem Bityutskiy <[email protected]> | 2013-10-22 13:34:27 +0100 |
commit | e71d1a59e757201454fd3cf66ddaceaf961bfb41 (patch) | |
tree | 32c315efd213b14b171018a4ed7f6cffb7890124 /tools/perf/util/trace-event-scripting.c | |
parent | c23e9b75ccd0edba81a506c7d97e0af626489256 (diff) |
UBIFS: remove unnecessary code in ubifs_garbage_collect
In ubifs_garbage_collect,local variable "space_before" calculate twice. In
fact, at the beginning of the loop, there is no need to calculate this
variable. Calculate it before call "ubifs_garbage_collect_leb" is enough. This
patch just remove the unnecessary calculate code.
Signed-off-by: wang bo <[email protected]>
Acked-by: Brian Norris <[email protected]>
Signed-off-by: Artem Bityutskiy <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions