Remove unused code

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