mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-09 02:00:43 -04:00
greybus: connection: remove disable from destructor
Remove implicit disable of legacy connections from the destructor. This is a step towards removing the legacy-protocol handling from core. Reviewed-by: Viresh Kumar <viresh.kumar@linaro.org> Signed-off-by: Johan Hovold <johan@hovoldconsulting.com> Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
6d3d95042e
commit
1cbfab3804
@@ -495,8 +495,6 @@ void gb_connection_destroy(struct gb_connection *connection)
|
||||
if (WARN_ON(!connection))
|
||||
return;
|
||||
|
||||
gb_connection_legacy_exit(connection);
|
||||
|
||||
spin_lock_irq(&gb_connections_lock);
|
||||
list_del(&connection->bundle_links);
|
||||
list_del(&connection->hd_links);
|
||||
|
||||
Reference in New Issue
Block a user