Removing unnecessary temp variable

@calvinfo