projects
/
platform
/
kernel
/
linux-exynos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dcd8783
)
cifs: remove redundant return in cifs_creation_time_get
author
Colin Ian King
<colin.king@canonical.com>
Tue, 6 Jun 2017 23:33:45 +0000
(
00:33
+0100)
committer
Steve French
<smfrench@gmail.com>
Wed, 21 Jun 2017 00:14:40 +0000
(19:14 -0500)
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>
fs/cifs/xattr.c
patch
|
blob
|
history
diff --git
a/fs/cifs/xattr.c
b/fs/cifs/xattr.c
index
3cb5c9e
..
de50e74
100644
(file)
--- 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;
}