]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
usb: hso: remove the bailout parameter
authorDongliang Mu <mudongliangabcd@gmail.com>
Wed, 21 Jul 2021 08:14:57 +0000 (16:14 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 6 Oct 2021 13:31:27 +0000 (15:31 +0200)
commit981d6f6f0b50d433163a41d40562ffb181f2f4fb
treebefc99951f8afe38addeb6782ea1aeb5503e763c
parentf6cf22a1ef49f8e131f99c3f5fd80ab6b23a2d21
usb: hso: remove the bailout parameter

commit dcb713d53e2eadf42b878c12a471e74dc6ed3145 upstream.

There are two invocation sites of hso_free_net_device. After
refactoring hso_create_net_device, this parameter is useless.
Remove the bailout in the hso_free_net_device and change the invocation
sites of this function.

Signed-off-by: Dongliang Mu <mudongliangabcd@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Ovidiu Panait <ovidiu.panait@windriver.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/usb/hso.c