Message ID | 20211103092531.GA25721@raspberrypi (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | apparmor: remove duplicated 'Returns:' comments | expand |
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@gmail.com> 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 >
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
It might look better if duplicated 'Returns:' comment is removed. Signed-off-by: Austin Kim <austindh.kim@gmail.com> --- security/apparmor/procattr.c | 2 -- 1 file changed, 2 deletions(-)