greybus: move operation timeout teardown
authorAlex Elder <elder@linaro.org>
Mon, 17 Nov 2014 14:08:36 +0000 (08:08 -0600)
committerGreg Kroah-Hartman <greg@kroah.com>
Mon, 17 Nov 2014 18:41:19 +0000 (10:41 -0800)
commit19363a2ca1aa7dc48214e4556fa5bfecaf570f3f
tree2660a8c5e9ad1478dc29e406b286c6ee0d558624
parentb4be40435284fab95de39a16690e3580ff32fb06
greybus: move operation timeout teardown

Move the cancel_delayed_work() call so it's done separate from the
removing the operation from the pending list.

This should have been part of this commit:
    d3809f7 greybus: move timeout out of gb_operation_insert()

Signed-off-by: Alex Elder <elder@linaro.org>
Signed-off-by: Greg Kroah-Hartman <greg@kroah.com>
drivers/staging/greybus/operation.c