MB-100 remove some unused code from misc.erl

Change-Id: I154c76b379afbb25e44189d92c6fde2252d71a8d
Reviewed-on: http://review.couchbase.org/35177
Tested-by: Artem Stemkovski <artem@couchbase.com>
Reviewed-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>