remove unused variable

@dgoodlad