Remove superflouous locking.