lock:delete some unuseful code in lock.c
zone:delete some unuseful code in zone.c