Commit 8709fe7b authored by Jesper Juhl's avatar Jesper Juhl Committed by Thomas Graf

[IRDA]: Kill useless parens from return statements in irnet.h

Signed-off-by: default avatarJesper Juhl <juhl-lkml@dif.dk>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 92768af5
...@@ -363,13 +363,13 @@ ...@@ -363,13 +363,13 @@
/* Exit a function with debug */ /* Exit a function with debug */
#define DRETURN(ret, dbg, args...) \ #define DRETURN(ret, dbg, args...) \
{DEXIT(dbg, ": " args);\ {DEXIT(dbg, ": " args);\
return(ret); } return ret; }
/* Exit a function on failed condition */ /* Exit a function on failed condition */
#define DABORT(cond, ret, dbg, args...) \ #define DABORT(cond, ret, dbg, args...) \
{if(cond) {\ {if(cond) {\
DERROR(dbg, args);\ DERROR(dbg, args);\
return(ret); }} return ret; }}
/* Invalid assertion, print out an error and exit... */ /* Invalid assertion, print out an error and exit... */
#define DASSERT(cond, ret, dbg, args...) \ #define DASSERT(cond, ret, dbg, args...) \
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment