git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
vserver 1.9.5.x5
[linux-2.6.git]
/
net
/
irda
/
irnet
/
irnet.h
diff --git
a/net/irda/irnet/irnet.h
b/net/irda/irnet/irnet.h
index
0ed25a1
..
9004f73
100644
(file)
--- a/
net/irda/irnet/irnet.h
+++ b/
net/irda/irnet/irnet.h
@@
-363,13
+363,13
@@
/* Exit a function with debug */
#define DRETURN(ret, dbg, args...) \
{DEXIT(dbg, ": " args);\
/* 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);\
/* 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...) \
/* Invalid assertion, print out an error and exit... */
#define DASSERT(cond, ret, dbg, args...) \
@@
-520,8
+520,6
@@
extern void
/* ---------------------------- MODULE ---------------------------- */
extern int
irnet_init(void); /* Initialise IrNET module */
/* ---------------------------- MODULE ---------------------------- */
extern int
irnet_init(void); /* Initialise IrNET module */
-extern void
- irnet_cleanup(void); /* Teardown IrNET module */
/**************************** VARIABLES ****************************/
/**************************** VARIABLES ****************************/