net/ring: remove redundant declaration