Remove dead code

Change-Id: I2e0eaa6ad4bc5bb6e781e1281ea1817589a6e5bf
Reviewed-on: http://review.couchbase.org/34015
Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
Tested-by: Trond Norbye <trond.norbye@gmail.com>