summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAlexandre Bounine <alexandre.bounine@idt.com>2012-10-10 15:54:01 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2012-10-11 08:50:15 +0900
commit4ed134beee42a5c9fc4b439f1e498363066e2516 (patch)
treed2d2dc5515f15c19b0a51882e656176f9d72aef1 /include
parent2574740d1fe946803caa6b0c06fbb4bf397af35d (diff)
rapidio: update for destination ID allocation
Address comments provided by Andrew Morton: https://lkml.org/lkml/2012/10/3/550 - Keeps consistent kerneldoc compatible comments style for new static functions. - Removes unnecessary complexity from destination ID allocation routine. - Uses kcalloc() for code clarity. Signed-off-by: Alexandre Bounine <alexandre.bounine@idt.com> Cc: Matt Porter <mporter@kernel.crashing.org> Cc: Li Yang <leoli@freescale.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include')
-rw-r--r--include/linux/rio.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/rio.h b/include/linux/rio.h
index d2dff22cf681..ac21ac675265 100644
--- a/include/linux/rio.h
+++ b/include/linux/rio.h
@@ -266,7 +266,6 @@ struct rio_mport {
struct rio_id_table {
u16 start; /* logical minimal id */
- u16 next; /* hint for find */
u32 max; /* max number of IDs in table */
spinlock_t lock;
unsigned long *table;