diff options
author | Johan Hovold <johan@hovoldconsulting.com> | 2016-01-19 12:51:01 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@google.com> | 2016-01-19 12:12:40 -0800 |
commit | 1cbfab3804b185ce2744b5b8064d06ca19491e36 (patch) | |
tree | dbe846211830ecb8054902a1ac5a7dd9f17ba796 /drivers | |
parent | 6d3d95042e6b3bede0199bad0d08f71b4f7735fb (diff) | |
download | linux-stable-1cbfab3804b185ce2744b5b8064d06ca19491e36.tar.gz linux-stable-1cbfab3804b185ce2744b5b8064d06ca19491e36.tar.bz2 linux-stable-1cbfab3804b185ce2744b5b8064d06ca19491e36.zip |
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>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/staging/greybus/connection.c | 2 |
1 files changed, 0 insertions, 2 deletions
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); |