switchrightmgmt: remove dead code