remove unnecessary code

Signed-off-by: Boqun Feng <boqun.feng@linux.vnet.ibm.com>