Remove some unused code

Signed-off-by: oder_chiou <oder_chiou@realtek.com>