perflock:Remove more unused codes
Remove more remnants from unused codes.

Signed-off-by: zeroblade1984 <zeroblade1984@gmail.com>