projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.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
|
blame
|
history
diff --git
a/fs/cifs/xattr.c
b/fs/cifs/xattr.c
index 3cb5c9e2d4e78f641549818fbbad7681b193854d..de50e749ff058d79c67f7462962614c8c835ecdb 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;
}