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 <[email protected]> Cc: James Morris <[email protected]> Cc: "Serge E. Hallyn" <[email protected]> Signed-off-by: Shaokun Zhang <[email protected]> Signed-off-by: John Johansen <[email protected]>
1 parent c75ea02 commit 7e50e9f

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

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)