frame: Remove old code which was out commented.