diff options
author | David Rientjes <rientjes@google.com> | 2009-08-26 17:29:20 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-08-26 23:06:52 -0400 |
commit | 105b6e8a74cac11cdf70903877593c7f202075cc (patch) | |
tree | 387b2ef2071481cf0abb2cd2aac331ee3a62548b /lib/flex_array.c | |
parent | a30b595d2ca6d39e784a1bed5f2b35f3d7a03af7 (diff) |
flex_array: fix flex_array_free_parts comment
flex_array_free_parts() does not take `src' or `element_nr' formals, so
remove their respective comments.
Signed-off-by: David Rientjes <rientjes@google.com>
Acked-by: Dave Hansen <dave@linux.vnet.ibm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'lib/flex_array.c')
-rw-r--r-- | lib/flex_array.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/flex_array.c b/lib/flex_array.c index e73c691aec36..cf4e372cae90 100644 --- a/lib/flex_array.c +++ b/lib/flex_array.c | |||
@@ -122,9 +122,6 @@ static int fa_element_to_part_nr(struct flex_array *fa, int element_nr) | |||
122 | 122 | ||
123 | /** | 123 | /** |
124 | * flex_array_free_parts - just free the second-level pages | 124 | * flex_array_free_parts - just free the second-level pages |
125 | * @src: address of data to copy into the array | ||
126 | * @element_nr: index of the position in which to insert | ||
127 | * the new element. | ||
128 | * | 125 | * |
129 | * This is to be used in cases where the base 'struct flex_array' | 126 | * This is to be used in cases where the base 'struct flex_array' |
130 | * has been statically allocated and should not be free. | 127 | * has been statically allocated and should not be free. |