Re: [PATCH] kdbus: drop useless goto

From: David Herrmann
Date: Fri Jun 05 2015 - 08:59:44 EST


Hi

On Fri, Jun 5, 2015 at 2:37 PM, Marc-Antoine Perennou
<Marc-Antoine@xxxxxxxxxxxx> wrote:
> Signed-off-by: Marc-Antoine Perennou <Marc-Antoine@xxxxxxxxxxxx>
> ---
> ipc/kdbus/names.c | 2 --
> 1 file changed, 2 deletions(-)

Reviewed-by: David Herrmann <dh.herrmann@xxxxxxxxx>

Thanks
David

> diff --git a/ipc/kdbus/names.c b/ipc/kdbus/names.c
> index 5f5d84e..d77ee08 100644
> --- a/ipc/kdbus/names.c
> +++ b/ipc/kdbus/names.c
> @@ -514,8 +514,6 @@ int kdbus_cmd_name_acquire(struct kdbus_conn *conn, void __user *argp)
>
> ret = kdbus_name_acquire(conn->ep->bus->name_registry, conn, item_name,
> cmd->flags, &cmd->return_flags);
> - if (ret < 0)
> - goto exit_dec;
>
> exit_dec:
> atomic_dec(&conn->name_count);
> --
> 2.4.2
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@xxxxxxxxxxxxxxx
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/