mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 19:21:31 -04:00
ceph: remove useless check
rc is only ever 0 or negative in this method. Signed-off-by: Sage Weil <[email protected]>
This commit is contained in:
parent
a2a79609c0
commit
6b4a3b517a
1 changed files with 0 additions and 2 deletions
|
|
@ -880,8 +880,6 @@ release_pvec_pages:
|
|||
out:
|
||||
if (req)
|
||||
ceph_osdc_put_request(req);
|
||||
if (rc > 0)
|
||||
rc = 0; /* vfs expects us to return 0 */
|
||||
ceph_put_snap_context(snapc);
|
||||
dout("writepages done, rc = %d\n", rc);
|
||||
return rc;
|
||||
|
|
|
|||
Loading…
Reference in a new issue