[ci skip] Remove duplicate method definition.

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