From: Johan Hovold Date: Tue, 19 Jan 2016 11:51:01 +0000 (+0100) Subject: greybus: connection: remove disable from destructor X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=1cbfab3804b185ce2744b5b8064d06ca19491e36;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git 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 Signed-off-by: Johan Hovold Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/greybus/connection.c b/drivers/staging/greybus/connection.c index d0e3f91d00d5..29a8193931b3 100644 --- a/drivers/staging/greybus/connection.c +++ b/drivers/staging/greybus/connection.c @@ -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);