* [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
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®