From: Johan Hovold Date: Fri, 27 May 2016 15:26:30 +0000 (+0200) Subject: greybus: connection: rename an error label X-Git-Tag: v4.9-rc1~119^2~378^2~21^2~321 X-Git-Url: http://git.cascardo.info/?p=cascardo%2Flinux.git;a=commitdiff_plain;h=e2efe1bbc42896c4c24fec16785be5264a2d7794 greybus: connection: rename an error label Rename an error label to make it more descriptive. 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 785b60b09c46..9c7133e3ed4b 100644 --- a/drivers/staging/greybus/connection.c +++ b/drivers/staging/greybus/connection.c @@ -566,11 +566,11 @@ static int _gb_connection_enable(struct gb_connection *connection, bool rx) ret = gb_connection_control_connected(connection); if (ret) - goto err_svc_destroy; + goto err_flush_operations; return 0; -err_svc_destroy: +err_flush_operations: spin_lock_irq(&connection->lock); connection->state = GB_CONNECTION_STATE_DISABLED; gb_connection_cancel_operations(connection, -ESHUTDOWN);