mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-27 22:24:11 +08:00
cifs: remove redundant return in cifs_creation_time_get
There is a redundant return in function cifs_creation_time_get that appears to be old vestigial code than can be removed. So remove it. Detected by CoverityScan, CID#1361924 ("Structurally dead code") Signed-off-by: Colin Ian King <colin.king@canonical.com> Signed-off-by: Steve French <smfrench@gmail.com>
This commit is contained in:
parent
dcd87838c0
commit
e125f5284f
@ -188,8 +188,6 @@ static int cifs_creation_time_get(struct dentry *dentry, struct inode *inode,
|
|||||||
pcreatetime = (__u64 *)value;
|
pcreatetime = (__u64 *)value;
|
||||||
*pcreatetime = CIFS_I(inode)->createtime;
|
*pcreatetime = CIFS_I(inode)->createtime;
|
||||||
return sizeof(__u64);
|
return sizeof(__u64);
|
||||||
|
|
||||||
return rc;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user