aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/api/s3/put.rs2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/api/s3/put.rs b/src/api/s3/put.rs
index a182f04d..2c51909f 100644
--- a/src/api/s3/put.rs
+++ b/src/api/s3/put.rs
@@ -286,8 +286,6 @@ async fn read_and_put_blocks<S: Stream<Item = Result<Bytes, Error>> + Unpin>(
) -> Result<(u64, GenericArray<u8, typenum::U16>, Hash), Error> {
let tracer = opentelemetry::global::tracer("garage");
- let first_block = Bytes::from(first_block);
-
let md5hasher = AsyncHasher::<Md5>::new();
let sha256hasher = AsyncHasher::<Sha256>::new();