Skip to content

Commit 7e50e9f

Browse files
zhangshkjrjohansen
authored andcommitted
apparmor: Remove the repeated declaration
Function 'aa_labelset_destroy' and 'aa_labelset_init' are declared twice, so remove the repeated declaration and unnecessary blank line. Cc: John Johansen <john.johansen@canonical.com> Cc: James Morris <jmorris@namei.org> Cc: "Serge E. Hallyn" <serge@hallyn.com> Signed-off-by: Shaokun Zhang <zhangshaokun@hisilicon.com> Signed-off-by: John Johansen <john.johansen@canonical.com>
1 parent c75ea02 commit 7e50e9f

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

security/apparmor/include/label.h

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -77,10 +77,6 @@ struct aa_labelset {
7777
#define __labelset_for_each(LS, N) \
7878
for ((N) = rb_first(&(LS)->root); (N); (N) = rb_next(N))
7979

80-
void aa_labelset_destroy(struct aa_labelset *ls);
81-
void aa_labelset_init(struct aa_labelset *ls);
82-
83-
8480
enum label_flags {
8581
FLAG_HAT = 1, /* profile is a hat */
8682
FLAG_UNCONFINED = 2, /* label unconfined only if all */

0 commit comments

Comments
 (0)