dm btree remove: remove unused function get_nr_entries()
authorVivek Goyal <vgoyal@redhat.com>
Mon, 6 Jul 2015 15:55:41 +0000 (11:55 -0400)
committerMike Snitzer <snitzer@redhat.com>
Wed, 12 Aug 2015 15:32:19 +0000 (11:32 -0400)
commit8c747fd0c3f514233afaca98139c03cca2cf2d2f
tree4d122d214d14d36cc6adb1ad2170bf8a15a5eae3
parent0a8d4c3ef8f14cbd26d97767e3676722d4eebee5
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: Vivek Goyal <vgoyal@redhat.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
drivers/md/persistent-data/dm-btree-remove.c