Re: [PATCH] apparmor: remove duplicated 'Returns:' comments

From: John Johansen
Date: Thu Nov 11 2021 - 20:25:51 EST


On 11/3/21 2:25 AM, Austin Kim wrote:
> It might look better if duplicated 'Returns:' comment is removed.
>
> Signed-off-by: Austin Kim <austindh.kim@xxxxxxxxx>

sorry, it looks like I forgot to reply to this. I pulled this into the
apparmor tree and it has been merged for 5.16

> ---
> security/apparmor/procattr.c | 2 --
> 1 file changed, 2 deletions(-)
>
> diff --git a/security/apparmor/procattr.c b/security/apparmor/procattr.c
> index c929bf4a3df1..fde332e0ea7d 100644
> --- a/security/apparmor/procattr.c
> +++ b/security/apparmor/procattr.c
> @@ -21,8 +21,6 @@
> * @profile: the profile to print profile info about (NOT NULL)
> * @string: Returns - string containing the profile info (NOT NULL)
> *
> - * Returns: length of @string on success else error on failure
> - *
> * Requires: profile != NULL
> *
> * Creates a string containing the namespace_name://profile_name for
>