lkml.org 
[lkml]   [2013]   [Dec]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH] ipc/mqueue.c: fixed a brace coding style issue
From
Date
On Sat, 2013-12-07 at 23:20 +0400, Roman Kuznetsov wrote:
> Fixed a coding style issue.
>
> Signed-off-by: Roman Kuznetsov <kuznetsov24@gmail.com>

Ok, fine.

Acked-by: Davidlohr Bueso <davidlohr@hp.com>

> ---
> ipc/mqueue.c | 5 ++---
> 1 file changed, 2 insertions(+), 3 deletions(-)
>
> diff --git a/ipc/mqueue.c b/ipc/mqueue.c
> index 95827ce..9346238 100644
> --- a/ipc/mqueue.c
> +++ b/ipc/mqueue.c
> @@ -1303,11 +1303,10 @@ retry:
> out_fput:
> fdput(f);
> out:
> - if (sock) {
> + if (sock)
> netlink_detachskb(sock, nc);
> - } else if (nc) {
> + else if (nc)
> dev_kfree_skb(nc);
> - }
> return ret;
> }
>




\
 
 \ /
  Last update: 2013-12-08 20:21    [W:0.870 / U:0.120 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site