Removed an unused variable in protocol_reset_data.