X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=net%2Firda%2Firnet%2Firnet.h;h=9004f7349a7604d9043cb6322a10f4d5c53ade51;hb=6a77f38946aaee1cd85eeec6cf4229b204c15071;hp=0ed25a123047ed92bd158227cbc32ef9451afedd;hpb=87fc8d1bb10cd459024a742c6a10961fefcef18f;p=linux-2.6.git diff --git a/net/irda/irnet/irnet.h b/net/irda/irnet/irnet.h index 0ed25a123..9004f7349 100644 --- 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);\ - 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...) \ @@ -520,8 +520,6 @@ extern void /* ---------------------------- MODULE ---------------------------- */ extern int irnet_init(void); /* Initialise IrNET module */ -extern void - irnet_cleanup(void); /* Teardown IrNET module */ /**************************** VARIABLES ****************************/