Remove unneeded code. Didn't work.

Signed-off-by: Krzysztof Wilczynski <krzysztof.wilczynski@linux.com>
Merge pull request #1120 from kwilczynski/master

Remove unneeded code. Didn't work.