]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit
usb: hso: remove the bailout parameter
authorDongliang Mu <mudongliangabcd@gmail.com>
Wed, 21 Jul 2021 08:14:57 +0000 (16:14 +0800)
committerStefan Bader <stefan.bader@canonical.com>
Fri, 5 Nov 2021 08:12:51 +0000 (09:12 +0100)
commit6f33f9130b419a513ae7268f6c9ea586947a1147
tree2f429b5e14e11f0008a6f14f37e27ac0fc2635e3
parentf57f5e40bb1b47ba7e0c3fd0372d629255770dac
usb: hso: remove the bailout parameter

BugLink: https://bugs.launchpad.net/bugs/1947888
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>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Kelsey Skunberg <kelsey.skunberg@canonical.com>
drivers/net/usb/hso.c