]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
crimson/os/seastore: remove OBJ_ADDR_MIN
authorSamuel Just <sjust@redhat.com>
Fri, 5 Mar 2021 07:42:12 +0000 (07:42 +0000)
committerSamuel Just <sjust@redhat.com>
Wed, 14 Apr 2021 07:11:05 +0000 (00:11 -0700)
It's an unsigned offset, simply hardcoding 0 will
be far less confusing.

Signed-off-by: Samuel Just <sjust@redhat.com>
src/crimson/os/seastore/seastore_types.h

index a42350148f75299939bd2511828ca07c8d4f9c72..3272712dc4f4874d8fb01284b8c34d0bb8cc6777 100644 (file)
@@ -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<objaddr_t>::min();
 
 /* Monotonically increasing identifier for the location of a
  * journal_record.