diff options
author | 2011-01-03 22:41:54 +0000 | |
---|---|---|
committer | 2011-01-04 19:16:13 -0800 | |
commit | 0059005f2cbf4847551b9ad9915ffffe23aef0b9 (patch) | |
tree | ff40c68f8c836d217b81d5c385e4ff2275a335be /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | ARM: PL08x: move callback outside spinlock'd region (diff) | |
download | wireguard-linux-0059005f2cbf4847551b9ad9915ffffe23aef0b9.tar.xz wireguard-linux-0059005f2cbf4847551b9ad9915ffffe23aef0b9.zip |
ARM: PL08x: make pl08x_fill_lli_for_desc() return void
We don't need pl08x_fill_lli_for_desc() to return num_llis + 1 as
we know that's what it always does. We can just pass in num_llis
and use post-increment in the caller.
This makes the code slightly easier to read.
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Acked-by: Linus Walleij <linus.walleij@stericsson.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions