Clean up unused variable

Change-Id: I2f904feb9b50ce41f59f3877708b864f4db9600d
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>