ring: remove unnecessary forward declaration