…
+++ b/drivers/dma/dmaengine.c
…
@@ -1102,6 +1103,7 @@ static int __dma_async_device_channel_register(struct dma_device *device, else dev_set_name(&chan->dev->device, "%s", name); rc = device_register(&chan->dev->device);
- dev_registered = true; if (rc) goto err_out_ida; chan->client_count = 0;
…
I find the additional variable assignment still questionable at this source code place.
Regards, Markus