diff options
author | Alexandre Bounine <alexandre.bounine@idt.com> | 2012-10-11 02:54:01 +0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-10-11 03:50:15 +0400 |
commit | 4ed134beee42a5c9fc4b439f1e498363066e2516 (patch) | |
tree | d2d2dc5515f15c19b0a51882e656176f9d72aef1 /include/linux/rio.h | |
parent | 2574740d1fe946803caa6b0c06fbb4bf397af35d (diff) | |
download | linux-4ed134beee42a5c9fc4b439f1e498363066e2516.tar.xz |
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/linux/rio.h')
-rw-r--r-- | include/linux/rio.h | 1 |
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; |