From: Danny Al-Gaaf Date: Mon, 4 May 2015 22:51:36 +0000 (+0200) Subject: rgw/rgw_rados.cc: remove dead code X-Git-Tag: v9.0.2~68^2~11 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=258b7b9a31b98b57b21733062d91ded98f13e561;p=ceph.git rgw/rgw_rados.cc: remove dead code CID 1274290 (#1 of 1): Logically dead code (DEADCODE) dead_error_line: Execution cannot reach this statement return r;. Signed-off-by: Danny Al-Gaaf --- diff --git a/src/rgw/rgw_rados.cc b/src/rgw/rgw_rados.cc index a58f4a24e14b..9f850a337029 100644 --- a/src/rgw/rgw_rados.cc +++ b/src/rgw/rgw_rados.cc @@ -5172,8 +5172,6 @@ int RGWRados::Object::Read::prepare(int64_t *pofs, int64_t *pend) ldout(cct, 20) << "Read xattr: " << iter->first << dendl; } } - if (r < 0) - return r; } /* Convert all times go GMT to make them compatible */