[PATCH 25/30] return statement cleanup - kill pointless parenthesesin net/irda/irnet/irnet.h

From: Jesper Juhl
Date: Wed Dec 15 2004 - 20:05:33 EST



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

Signed-off-by: Jesper Juhl <juhl-lkml@xxxxxx>

--- 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...) \



-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/