From ec5294b9c5f4b622f0d7c370cd95b7a6e48111ed Mon Sep 17 00:00:00 2001 From: Samuel Just Date: Fri, 5 Mar 2021 07:42:12 +0000 Subject: [PATCH] crimson/os/seastore: remove OBJ_ADDR_MIN It's an unsigned offset, simply hardcoding 0 will be far less confusing. Signed-off-by: Samuel Just --- src/crimson/os/seastore/seastore_types.h | 1 - 1 file changed, 1 deletion(-) diff --git a/src/crimson/os/seastore/seastore_types.h b/src/crimson/os/seastore/seastore_types.h index a42350148f752..3272712dc4f48 100644 --- a/src/crimson/os/seastore/seastore_types.h +++ b/src/crimson/os/seastore/seastore_types.h @@ -195,7 +195,6 @@ struct __attribute((packed)) paddr_le_t { std::ostream &operator<<(std::ostream &out, const paddr_t &rhs); using objaddr_t = uint32_t; -constexpr objaddr_t OBJ_ADDR_MIN = std::numeric_limits::min(); /* Monotonically increasing identifier for the location of a * journal_record. -- 2.39.5