projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
05f608f
)
staging: ozwpan: Convert macro to function.
author
Joe Perches
<joe@perches.com>
Tue, 23 Jul 2013 12:45:02 +0000
(13:45 +0100)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Tue, 23 Jul 2013 21:34:53 +0000
(14:34 -0700)
Replace macro with inline function.
Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Rupesh Gujare <rupesh.gujare@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/ozwpan/ozurbparanoia.h
patch
|
blob
|
history
diff --git
a/drivers/staging/ozwpan/ozurbparanoia.h
b/drivers/staging/ozwpan/ozurbparanoia.h
index 00f5a3a81bc88cbb7067735702bc6fd750de7e6c..5080ea76f507389736ff36fa20b959d7bf84ed16 100644
(file)
--- a/
drivers/staging/ozwpan/ozurbparanoia.h
+++ b/
drivers/staging/ozwpan/ozurbparanoia.h
@@
-10,8
+10,8
@@
void oz_remember_urb(struct urb *urb);
int oz_forget_urb(struct urb *urb);
#else
-#define oz_remember_urb(__x)
-#define oz_forget_urb(__x) 0
+static inline void oz_remember_urb(struct urb *urb) {}
+static inline int oz_forget_urb(struct urb *urb) { return 0; }
#endif /* WANT_URB_PARANOIA */