Deleted some comments and some unused lines of code

Signed-off-by: Bleska <blecha.jiri@gmail.com>