diff options
author | Colin Ian King <colin.king@canonical.com> | 2017-06-06 19:33:45 -0400 |
---|---|---|
committer | Steve French <smfrench@gmail.com> | 2017-06-20 20:14:40 -0400 |
commit | e125f5284f81bbb765a504494622b45c02faf978 (patch) | |
tree | d31153a2f27613f5b2c88a51dd83b2199734f303 | |
parent | dcd87838c06f05ab7650b249ebf0d5b57ae63e1e (diff) |
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>
-rw-r--r-- | fs/cifs/xattr.c | 2 |
1 files changed, 0 insertions, 2 deletions
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, | |||
188 | pcreatetime = (__u64 *)value; | 188 | pcreatetime = (__u64 *)value; |
189 | *pcreatetime = CIFS_I(inode)->createtime; | 189 | *pcreatetime = CIFS_I(inode)->createtime; |
190 | return sizeof(__u64); | 190 | return sizeof(__u64); |
191 | |||
192 | return rc; | ||
193 | } | 191 | } |
194 | 192 | ||
195 | 193 | ||