Re: [PATCH] scsi: sd: call device_del() if device_add_disk() fails
From: Wenchao Hao
Date: Wed Mar 30 2022 - 22:15:42 EST
I do not think it's necessary to call device_del() on this path. If the device
has been added, put_device() would delete it from sysfs. So the origin error
handle is ok with me.