提交 155c7143 编写于 作者: J Joe Perches 提交者: Greg Kroah-Hartman

staging: ozwpan: Convert macro to function.

Replace macro with inline function.
Signed-off-by: NJoe Perches <joe@perches.com>
Signed-off-by: NRupesh Gujare <rupesh.gujare@atmel.com>
Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
上级 05f608f2
...@@ -10,8 +10,8 @@ ...@@ -10,8 +10,8 @@
void oz_remember_urb(struct urb *urb); void oz_remember_urb(struct urb *urb);
int oz_forget_urb(struct urb *urb); int oz_forget_urb(struct urb *urb);
#else #else
#define oz_remember_urb(__x) static inline void oz_remember_urb(struct urb *urb) {}
#define oz_forget_urb(__x) 0 static inline int oz_forget_urb(struct urb *urb) { return 0; }
#endif /* WANT_URB_PARANOIA */ #endif /* WANT_URB_PARANOIA */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册