public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] xillybus: place 'else' on same line as '}'
@ 2014-07-14  3:07 Jeremiah Mahler
  2014-07-14  6:40 ` Eli Billauer
  2014-07-18  0:18 ` Greg Kroah-Hartman
  0 siblings, 2 replies; 6+ messages in thread
From: Jeremiah Mahler @ 2014-07-14  3:07 UTC (permalink / raw)
  To: Eli Billauer
  Cc: Greg Kroah-Hartman, Wei Yongjun, Kees Cook, Masanari Iida,
	Richard Weinberger, Ebru Akagunduz, devel, linux-kernel,
	Jeremiah Mahler

Place 'else' on same line as closing brace '}' as per
Documentation/CodingStyle.  Fixes 1 error found by checkpatch.pl.

Signed-off-by: Jeremiah Mahler <jmmahler@gmail.com>
---
 drivers/staging/xillybus/xillybus_core.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/drivers/staging/xillybus/xillybus_core.c b/drivers/staging/xillybus/xillybus_core.c
index ab6502c..7de4c11 100644
--- a/drivers/staging/xillybus/xillybus_core.c
+++ b/drivers/staging/xillybus/xillybus_core.c
@@ -546,8 +546,7 @@ static int xilly_setupchannels(struct xilly_endpoint *ep,
 			channel->rd_buffers = buffers;
 			rc = xilly_get_dma_buffers(ep, &rd_alloc, buffers,
 						   bufnum, bytebufsize);
-		}
-		else if (channelnum > 0) {
+		} else if (channelnum > 0) {
 			channel->num_wr_buffers = bufnum;
 
 			channel->seekable = seekable;
-- 
2.0.1


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

end of thread, other threads:[~2014-07-18  0:18 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-07-14  3:07 [PATCH] xillybus: place 'else' on same line as '}' Jeremiah Mahler
2014-07-14  6:40 ` Eli Billauer
2014-07-14  8:51   ` Dan Carpenter
2014-07-14 16:08     ` Jeremiah Mahler
2014-07-14 16:02   ` Jeremiah Mahler
2014-07-18  0:18 ` Greg Kroah-Hartman

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