Remove dead code

Change-Id: I6942031e31414ca2c662eae46828ccba564cdbf2
Reviewed-on: http://review.couchbase.org/24245
Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>
Tested-by: Trond Norbye <trond.norbye@gmail.com>