mirror of
https://github.com/torvalds/linux.git
synced 2026-11-26 08:23:17 +00:00
The error may happen at any iteration of the for loop, this patch properly unregisters already registed edd_devices in error path. [[email protected]: remove unneeded NULL test] Signed-off-by: Axel Lin <[email protected]> Cc: Stephen Hemminger <[email protected]> Cc: Jens Axboe <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>