Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6b4a3b51 authored by Sage Weil's avatar Sage Weil
Browse files

ceph: remove useless check



rc is only ever 0 or negative in this method.

Signed-off-by: default avatarSage Weil <sage@newdream.net>
parent a2a79609
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -880,8 +880,6 @@ static int ceph_writepages_start(struct address_space *mapping,
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;