Removed unnecessary initialization code from LockB