OSDN Git Service

usb: hso: remove the bailout parameter
authorDongliang Mu <mudongliangabcd@gmail.com>
Wed, 21 Jul 2021 08:14:57 +0000 (16:14 +0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 21 Jul 2021 15:59:56 +0000 (08:59 -0700)
commitdcb713d53e2eadf42b878c12a471e74dc6ed3145
tree3d1cd77cb14aa732028fb3295404174b56aca816
parent788e67f18d797abbd48a96143511261f4f3b4f21
usb: hso: remove the bailout parameter

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>
drivers/net/usb/hso.c