Trivial removal of unused variable layoutPath.