Remove surplus error_t type.

This is also to avoid name collision with error_t from errno.h.

Signed-off-by: Krzysztof Wilczynski <krzysztof.wilczynski@linux.com>