Removed dead code identified by symcheck