Removed unreachable code

Removed unreachable code which was found using the go vet tool.