Skip to content
Snippets Groups Projects
Commit dcbcf9cd authored by Wesley W. Terpstra's avatar Wesley W. Terpstra
Browse files

Don't fail when it works!

parent 3e3feba1
Branches
Tags
No related merge requests found
......@@ -169,6 +169,8 @@ static int __init wishbone_init(void)
err = -EIO;
goto fail_class;
}
return 0;
fail_class:
class_destroy(wishbone_class);
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment