mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-28 05:12:49 +00:00
smack_lsm: remove unnecessary type casting
Remove unnecessary type casting. The type of inode variable is struct inode *, so no type casting required. Signed-off-by: XU pengfei <xupengfei@nfschina.com> Signed-off-by: Casey Schaufler <casey@schaufler-ca.com>
This commit is contained in:
parent
fe15c26ee2
commit
502a29b04d
1 changed files with 1 additions and 1 deletions
|
@ -1477,7 +1477,7 @@ static int smack_inode_getsecurity(struct mnt_idmap *idmap,
|
|||
struct socket_smack *ssp;
|
||||
struct socket *sock;
|
||||
struct super_block *sbp;
|
||||
struct inode *ip = (struct inode *)inode;
|
||||
struct inode *ip = inode;
|
||||
struct smack_known *isp;
|
||||
|
||||
if (strcmp(name, XATTR_SMACK_SUFFIX) == 0)
|
||||
|
|
Loading…
Reference in a new issue