misc: enclosure: Remove unnecessary error check
It is not necessary to check return value of class_register. enclosure_init returns both successful and error value. Signed-off-by: NArvind Yadav <arvind.yadav.cs@gmail.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Showing
想要评论请 注册 或 登录