Remove useless condition.

It's already covered by preceding clause.

Change-Id: I7b4a2332fe416ce728b50172bad01663563828b3
Reviewed-on: http://review.couchbase.org/38274
Tested-by: Aliaksey Artamonau <aliaksiej.artamonau@gmail.com>
Reviewed-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
Remove unused include.

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