Fix. Removing warning being in wrong place.

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