radio-group: remove redundant code