projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a2d7d02
)
[GFS2] fs/gfs2/dir.c:gfs2_dir_write_data(): remove dead code
author
Adrian Bunk
<bunk@stusta.de>
Thu, 19 Oct 2006 13:12:24 +0000
(15:12 +0200)
committer
Steven Whitehouse
<swhiteho@redhat.com>
Fri, 20 Oct 2006 13:14:42 +0000
(09:14 -0400)
The Coverity checker spotted this obviously dead code.
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
fs/gfs2/dir.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/gfs2/dir.c
b/fs/gfs2/dir.c
index d43caf04bb68c4d6fa789666e60402fa4ba4dd69..ce52bd954df6c44c3b246782283e05c2b8f02788 100644
(file)
--- a/
fs/gfs2/dir.c
+++ b/
fs/gfs2/dir.c
@@
-212,8
+212,6
@@
static int gfs2_dir_write_data(struct gfs2_inode *ip, const char *buf,
gfs2_trans_add_bh(ip->i_gl, bh, 1);
memcpy(bh->b_data + o, buf, amount);
brelse(bh);
- if (error)
- goto fail;
buf += amount;
copied += amount;