mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] ipc/mqueue.c: fixed a brace coding style issue
@ 2013-12-07 19:20 Roman Kuznetsov
  2013-12-08 19:08 ` Davidlohr Bueso
  0 siblings, 1 reply; 2+ messages in thread
From: Roman Kuznetsov @ 2013-12-07 19:20 UTC (permalink / raw)
  To: linux-kernel; +Cc: Roman Kuznetsov

Fixed a coding style issue.

Signed-off-by: Roman Kuznetsov <kuznetsov24@gmail.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;
 }
 
-- 
1.8.1.2


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] ipc/mqueue.c: fixed a brace coding style issue
  2013-12-07 19:20 [PATCH] ipc/mqueue.c: fixed a brace coding style issue Roman Kuznetsov
@ 2013-12-08 19:08 ` Davidlohr Bueso
  0 siblings, 0 replies; 2+ messages in thread
From: Davidlohr Bueso @ 2013-12-08 19:08 UTC (permalink / raw)
  To: Roman Kuznetsov, Andrew Morton; +Cc: linux-kernel

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;
>  }
>  



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-12-08 19:08 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-12-07 19:20 [PATCH] ipc/mqueue.c: fixed a brace coding style issue Roman Kuznetsov
2013-12-08 19:08 ` Davidlohr Bueso

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome