[apparmor] [patch] [42/38] Drop more unused functions from aa.py

Steve Beattie steve at nxnw.org
Fri Sep 30 23:20:28 UTC 2016


On Thu, Sep 29, 2016 at 08:52:44PM +0200, Christian Boltz wrote:
 
> after looking at matchliteral(), I found out that it's only user is
> rematchfrag(), which is only called in a) an "if False:" block and
> b) match_include_to_path() - and that is only called by the also unused
> match_prof_incs_to_path() function.
> 
> This patch drops some dead code (like the mentioned "if False:" block)
> and the now unused functions
> - matchliteral()
> - rematchfrag()
> - match_include_to_path()
> - match_prof_incs_to_path()
> 
> This patch is also THE ANSWER to the question when I'll finally consider
> this patch series complete.
> 
> 42. It can't become better than that! ;-)
> 
> [ 42-cleanup-aa.py.diff ]

Woo, more code deletion! Acked-by: Steve Beattie <steve at nxnw.org>.

Thanks!

-- 
Steve Beattie
<sbeattie at ubuntu.com>
http://NxNW.org/~steve/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <https://lists.ubuntu.com/archives/apparmor/attachments/20160930/c17ca865/attachment.pgp>


More information about the AppArmor mailing list