selinux: Delete an unnecessary return statement in policydb_destroy()
The script "checkpatch.pl" pointed information out like the following. WARNING: void function return statements are not generally useful Thus remove such a statement in the affected function. Signed-off-by: Markus Elfring <elfring@users.sourceforge.net> Signed-off-by: Paul Moore <paul@paul-moore.com>
This commit is contained in:
committed by
Paul Moore
parent
ad10a10567
commit
b4e4686f65
@@ -880,8 +880,6 @@ void policydb_destroy(struct policydb *p)
|
|||||||
ebitmap_destroy(&p->filename_trans_ttypes);
|
ebitmap_destroy(&p->filename_trans_ttypes);
|
||||||
ebitmap_destroy(&p->policycaps);
|
ebitmap_destroy(&p->policycaps);
|
||||||
ebitmap_destroy(&p->permissive_map);
|
ebitmap_destroy(&p->permissive_map);
|
||||||
|
|
||||||
return;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|||||||
Reference in New Issue
Block a user