Remove unused variable event