[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CANq1E4QYpf-G7kgaaaOuk1VxLEchJX-S-6wmAyvQwmQrTT8osg@mail.gmail.com>
Date: Fri, 5 Jun 2015 14:59:36 +0200
From: David Herrmann <dh.herrmann@...il.com>
To: Marc-Antoine Perennou <Marc-Antoine@...ennou.com>
Cc: Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
linux-kernel <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] kdbus: drop useless goto
Hi
On Fri, Jun 5, 2015 at 2:37 PM, Marc-Antoine Perennou
<Marc-Antoine@...ennou.com> wrote:
> Signed-off-by: Marc-Antoine Perennou <Marc-Antoine@...ennou.com>
> ---
> ipc/kdbus/names.c | 2 --
> 1 file changed, 2 deletions(-)
Reviewed-by: David Herrmann <dh.herrmann@...il.com>
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@...r.kernel.org
> 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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists