lkml.org 
[lkml]   [2022]   [Feb]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: [PATCH 1/5] selinux: drop return statement at end of void functions
On Thu, Feb 17, 2022 at 9:22 AM Christian Göttsche
<cgzones@googlemail.com> wrote:
>
> Those return statements at the end of a void function are redundant.
>
> Reported by clang-tidy [readability-redundant-control-flow]
>
> Signed-off-by: Christian Göttsche <cgzones@googlemail.com>
> ---
> security/selinux/hooks.c | 2 --
> security/selinux/ss/conditional.c | 2 --
> security/selinux/ss/ebitmap.c | 1 -
> security/selinux/ss/mls.c | 1 -
> security/selinux/ss/services.c | 2 --
> 5 files changed, 8 deletions(-)

Merged into selinux/next, thanks.

--
paul-moore.com

\
 
 \ /
  Last update: 2022-02-18 16:45    [W:0.508 / U:0.044 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site