]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
client: remove unneeded goto jump
authorVenky Shankar <vshankar@redhat.com>
Mon, 7 Apr 2025 04:48:07 +0000 (04:48 +0000)
committerChristopher Hoffman <choffman@redhat.com>
Wed, 5 Nov 2025 13:59:35 +0000 (13:59 +0000)
Signed-off-by: Venky Shankar <vshankar@redhat.com>
src/client/Client.cc

index e0507ca72327e734c4d985243c8df41d99a0e8e7..609a1aefd53f10eae08f96a6a550cb3bd93421fc 100644 (file)
@@ -12346,9 +12346,7 @@ int Client::WriteEncMgr::read_modify_write(Context *_iofinish)
     clnt->client_lock.lock();
 
     r = aioc.get_retcode();
-    if (r < 0) {
-      goto done;
-    }
+    // fallthrough
   }