From: David Rientjes Date: Wed, 26 Aug 2009 21:29:20 +0000 (-0700) Subject: flex_array: fix flex_array_free_parts comment X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=105b6e8a74cac11cdf70903877593c7f202075cc;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git 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 Acked-by: Dave Hansen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- 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) /** * flex_array_free_parts - just free the second-level pages - * @src: address of data to copy into the array - * @element_nr: index of the position in which to insert - * the new element. * * This is to be used in cases where the base 'struct flex_array' * has been statically allocated and should not be free.