aboutsummaryrefslogtreecommitdiffstats
path: root/samples
diff options
context:
space:
mode:
authorTetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>2010-02-07 20:23:59 +0900
committerJames Morris <jmorris@namei.org>2010-02-11 17:09:45 +1100
commitca0b7df3374c5566468c17f26fa2dfd3fe3c6a37 (patch)
tree39fb8dfd34a84b928d18523da5dcebc5b25cb634 /samples
parent8007f10259d04f37044c2c731bf9ccdd9161d825 (diff)
downloadkernel_samsung_tuna-ca0b7df3374c5566468c17f26fa2dfd3fe3c6a37.zip
kernel_samsung_tuna-ca0b7df3374c5566468c17f26fa2dfd3fe3c6a37.tar.gz
kernel_samsung_tuna-ca0b7df3374c5566468c17f26fa2dfd3fe3c6a37.tar.bz2
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 <penguin-kernel@I-love.SAKURA.ne.jp> Acked-by: Serge Hallyn <serue@us.ibm.com> Signed-off-by: James Morris <jmorris@namei.org>
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions