Remove unneeded code block