mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 25/30] return statement cleanup - kill pointless parentheses in net/irda/irnet/irnet.h
@ 2004-12-16  0:39 Jesper Juhl
  2004-12-28  5:21 ` David S. Miller
  0 siblings, 1 reply; 2+ messages in thread
From: Jesper Juhl @ 2004-12-16  0:39 UTC (permalink / raw)
  To: linux-kernel; +Cc: Linux Kernel Trivial Patch Monkey


This patch removes pointless parentheses from return statements in 
net/irda/irnet/irnet.h

Signed-off-by: Jesper Juhl <juhl-lkml@dif.dk>

--- linux-2.6.10-rc3-bk8-orig/net/irda/irnet/irnet.h	2004-10-18 23:54:39.000000000 +0200
+++ linux-2.6.10-rc3-bk8/net/irda/irnet/irnet.h	2004-12-15 23:56:32.000000000 +0100
@@ -363,13 +363,13 @@
 /* Exit a function with debug */
 #define DRETURN(ret, dbg, args...) \
 	{DEXIT(dbg, ": " args);\
-	return(ret); }
+	return ret; }
 
 /* Exit a function on failed condition */
 #define DABORT(cond, ret, dbg, args...) \
 	{if(cond) {\
 		DERROR(dbg, args);\
-		return(ret); }}
+		return ret; }}
 
 /* Invalid assertion, print out an error and exit... */
 #define DASSERT(cond, ret, dbg, args...) \




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

* Re: [PATCH 25/30] return statement cleanup - kill pointless parentheses in net/irda/irnet/irnet.h
  2004-12-16  0:39 [PATCH 25/30] return statement cleanup - kill pointless parentheses in net/irda/irnet/irnet.h Jesper Juhl
@ 2004-12-28  5:21 ` David S. Miller
  0 siblings, 0 replies; 2+ messages in thread
From: David S. Miller @ 2004-12-28  5:21 UTC (permalink / raw)
  To: Jesper Juhl; +Cc: linux-kernel, trivial

On Thu, 16 Dec 2004 01:39:29 +0100 (CET)
Jesper Juhl <juhl-lkml@dif.dk> wrote:

> 
> This patch removes pointless parentheses from return statements in 
> net/irda/irnet/irnet.h

Applied, thanks Jesper.

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

end of thread, other threads:[~2004-12-28  5:25 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-12-16  0:39 [PATCH 25/30] return statement cleanup - kill pointless parentheses in net/irda/irnet/irnet.h Jesper Juhl
2004-12-28  5:21 ` David S. Miller

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

all inboxes | Powered by JetHome®