]> asedeno.scripts.mit.edu Git - linux.git/commit
SMACK: Delete list_head repeated initialization
authorHimanshu Shukla <himanshu.sh@samsung.com>
Wed, 23 Nov 2016 06:28:48 +0000 (11:58 +0530)
committerCasey Schaufler <casey@schaufler-ca.com>
Tue, 10 Jan 2017 17:47:20 +0000 (09:47 -0800)
commitd54a197964e7eb636a0c64fb0dbdd67759eb71f2
tree3d81c63d469b9e83d7ee9dad9528f786fd74aaaf
parent2e962e2fec5c35b91e3b541e2b8373504bf91e27
SMACK: Delete list_head repeated initialization

smk_copy_rules() and smk_copy_relabel() are initializing list_head though
they have been initialized already in new_task_smack() function. Delete
repeated initialization.

Signed-off-by: Himanshu Shukla <himanshu.sh@samsung.com>
Signed-off-by: Casey Schaufler <casey@schaufler-ca.com>
security/smack/smack_lsm.c