aboutsummaryrefslogtreecommitdiff
path: root/src/api/s3/put.rs
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2022-07-22 18:40:06 +0200
committerAlex Auvolat <alex@adnab.me>2022-07-29 12:24:48 +0200
commit2cad656a0332b19481ce779f5026b07c6ed8198f (patch)
treeab9ecd93bc970cb7d2dc98a4684d2e59513e1217 /src/api/s3/put.rs
parent0176da3ad2aae9d18cb04feb452e0243cfb940fc (diff)
downloadgarage-2cad656a0332b19481ce779f5026b07c6ed8198f.tar.gz
garage-2cad656a0332b19481ce779f5026b07c6ed8198f.zip
More make clippy happy
Diffstat (limited to 'src/api/s3/put.rs')
-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();