usbip: simplify the return expression of usbip_core_init()

Simplify the return expression.

Acked-by: Shuah Khan <skhan@linuxfoundation.org>
Signed-off-by: Liu Shixin <liushixin2@huawei.com>
Link: https://lore.kernel.org/r/20200915032631.1772673-1-liushixin2@huawei.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Liu Shixin 2020-09-15 11:26:31 +08:00 committed by Greg Kroah-Hartman
parent 61ce6e2aa6
commit a4e6451d32
1 changed files with 1 additions and 7 deletions

View File

@ -755,13 +755,7 @@ EXPORT_SYMBOL_GPL(usbip_recv_xbuff);
static int __init usbip_core_init(void)
{
int ret;
ret = usbip_init_eh();
if (ret)
return ret;
return 0;
return usbip_init_eh();
}
static void __exit usbip_core_exit(void)