This is an error return path which only returns an error when pipe_release() returns an error but pipe_release() can't return an error. Maybe pipe_release() should be changed to void.