Explorar o código

staging: ozwpan: Convert macro to function.

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>
Joe Perches %!s(int64=12) %!d(string=hai) anos
pai
achega
155c71435c
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      drivers/staging/ozwpan/ozurbparanoia.h

+ 2 - 2
drivers/staging/ozwpan/ozurbparanoia.h

@@ -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)
-#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 */
 #endif /* WANT_URB_PARANOIA */