diff options
author | Russell King - ARM Linux <linux@arm.linux.org.uk> | 2011-01-03 23:41:54 +0100 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2011-01-05 04:16:13 +0100 |
commit | 0059005f2cbf4847551b9ad9915ffffe23aef0b9 (patch) | |
tree | ff40c68f8c836d217b81d5c385e4ff2275a335be /drivers/mtd/nftlmount.c | |
parent | ARM: PL08x: move callback outside spinlock'd region (diff) | |
download | linux-0059005f2cbf4847551b9ad9915ffffe23aef0b9.tar.xz 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 'drivers/mtd/nftlmount.c')
0 files changed, 0 insertions, 0 deletions