Skip to content
Commit 8c747fd0 authored by Vivek Goyal's avatar Vivek Goyal Committed by Mike Snitzer
Browse files

dm btree remove: remove unused function get_nr_entries()



rebalance_children() calls get_nr_entries() and assigns the result to an
unused local 'child_entries' variable.  Remove get_nr_entries() and
cleanup rebalance_children() accordingly.

Signed-off-by: default avatarVivek Goyal <vgoyal@redhat.com>
Signed-off-by: default avatarMike Snitzer <snitzer@redhat.com>
parent 0a8d4c3e
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment