f74ea27bb5
Coverity detected this as an issue because internals->data will never be NULL, then the check is not necessary. Coverity issue: 137873 Fixes: d082c0395bf6 ("ring: fix memory leak when detaching") Signed-off-by: Mauricio Vasquez B <mauricio.vasquez@polito.it> Acked-by: Ferruh Yigit <ferruh.yigit@intel.com>