Removed unneeded code from my last 2 PRs

Last two PRs left some code that was literally useless and unused (and would probably stay that way). Took the code out. That's all.