Skip to content

Commit

Permalink
osd/osd_types: remove useless encode_compat local var for pg_pool_t::…
Browse files Browse the repository at this point in the history
…encode

This is left over from db3fd11
when we made the HitSet stuff incompat, but that behavior was reverted by
dc3ce58, leaving this cruft behind.

Signed-off-by: Sage Weil <[email protected]>
  • Loading branch information
liewegas committed Jul 11, 2014
1 parent c4afaf9 commit 712d5d1
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/osd/osd_types.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1060,8 +1060,7 @@ void pg_pool_t::encode(bufferlist& bl, uint64_t features) const
return;
}

__u8 encode_compat = 5;
ENCODE_START(15, encode_compat, bl);
ENCODE_START(15, 5, bl);
::encode(type, bl);
::encode(size, bl);
::encode(crush_ruleset, bl);
Expand Down

0 comments on commit 712d5d1

Please sign in to comment.