remove needless code

Signed-off-by: Meathill <meathill@gmail.com>