Remove unneeded variable.

Change-Id: Iae066ef58f92c501c9a9c887606e11a927cd902e
Reviewed-on: http://review.couchbase.org/37517
Tested-by: Aliaksey Artamonau <aliaksiej.artamonau@gmail.com>
Reviewed-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>