From: Tetsuo Handa Date: Sun, 7 Feb 2010 11:23:59 +0000 (+0900) Subject: TOMOYO: Reduce lines by using common path for addition and deletion. X-Git-Tag: v2.6.34-rc1~228^2^2~13 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ca0b7df3374c5566468c17f26fa2dfd3fe3c6a37;p=pandora-kernel.git TOMOYO: Reduce lines by using common path for addition and deletion. Since the codes for adding an entry and removing an entry are similar, we can save some lines by using "if (is_delete) { ... } else { ... }" branches. Signed-off-by: Tetsuo Handa Acked-by: Serge Hallyn Signed-off-by: James Morris --- Reading git-diff-tree failed