diff options
author | Johan Hovold <johan@hovoldconsulting.com> | 2016-01-19 12:51:03 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@google.com> | 2016-01-19 12:12:40 -0800 |
commit | 81fba24969c0ca427a8cd3d31bea10749f15b737 (patch) | |
tree | 2493dc029be64bc830e388ab54aa45784943cf7c /drivers/staging/greybus/connection.h | |
parent | bfa9a5e2d07937a7620d55ff6eb55b480bc13100 (diff) | |
download | op-kernel-dev-81fba24969c0ca427a8cd3d31bea10749f15b737.zip op-kernel-dev-81fba24969c0ca427a8cd3d31bea10749f15b737.tar.gz |
greybus: connection: always cancel operations on connection disable
Always cancel all operations on connection disable and remove the now
unused DESTROYING state.
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/staging/greybus/connection.h')
-rw-r--r-- | drivers/staging/greybus/connection.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/staging/greybus/connection.h b/drivers/staging/greybus/connection.h index ec0e469..b774b9c 100644 --- a/drivers/staging/greybus/connection.h +++ b/drivers/staging/greybus/connection.h @@ -17,7 +17,6 @@ enum gb_connection_state { GB_CONNECTION_STATE_INVALID = 0, GB_CONNECTION_STATE_DISABLED = 1, GB_CONNECTION_STATE_ENABLED = 2, - GB_CONNECTION_STATE_DESTROYING = 3, }; struct gb_operation; |