Removed redundant code

No change in functionality