[client] Remove needless code