Remove unused variable 'addr'