Commit e125f528 authored by Colin Ian King's avatar Colin Ian King Committed by Steve French
Browse files

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: default avatarColin Ian King <colin.king@canonical.com>
Signed-off-by: default avatarSteve French <smfrench@gmail.com>
parent dcd87838
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -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;
}