Remove useless code.

Here path does nothing.