From: Colin Ian King Date: Tue, 6 Jun 2017 23:33:45 +0000 (+0100) Subject: cifs: remove redundant return in cifs_creation_time_get X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=e125f5284f81bbb765a504494622b45c02faf978;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git 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 Signed-off-by: Steve French --- diff --git a/fs/cifs/xattr.c b/fs/cifs/xattr.c index 3cb5c9e2d4e7..de50e749ff05 100644 --- a/fs/cifs/xattr.c +++ b/fs/cifs/xattr.c @@ -188,8 +188,6 @@ static int cifs_creation_time_get(struct dentry *dentry, struct inode *inode, pcreatetime = (__u64 *)value; *pcreatetime = CIFS_I(inode)->createtime; return sizeof(__u64); - - return rc; }