Removing unused static variable