mirror of
https://github.com/torvalds/linux.git
synced 2026-11-24 23:47:06 +00:00
If cdev_add() fails, cdev_del() should be called. Add the missing cdev_del() call as pointed out by Dan Carpenter. Signed-off-by: Michael Straube <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>