]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
remove a left-over break
authorDavid Tardon <dtardon@redhat.com>
Fri, 25 Jun 2021 08:42:53 +0000 (10:42 +0200)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Fri, 25 Jun 2021 12:20:52 +0000 (14:20 +0200)
By the "same logic as above...", we want to continue to fallback here,
but the break prohibits that.

This is a follow-up for ee1aa61c4710ae567a2b844e0f0bb8cb0456ab8c .

src/shared/copy.c

index ed9f2ba3ff81e08b7f5b354c4322388830311b37..04f99a2d6f8fcf434d67016e9c4ae987ef15a222 100644 (file)
@@ -244,7 +244,6 @@ int copy_bytes_full(
                                         break;
 
                                 try_sendfile = try_splice = false; /* same logic as above for copy_file_range() */
-                                break;
                         } else
                                 /* Success! */
                                 goto next;