Make this piece of code a little bit more concise.

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