From: Joe Perches Date: Tue, 23 Jul 2013 12:45:02 +0000 (+0100) Subject: staging: ozwpan: Convert macro to function. X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=155c71435cba5ac6761999011bc729cbd94cdac7;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git staging: ozwpan: Convert macro to function. Replace macro with inline function. Signed-off-by: Joe Perches Signed-off-by: Rupesh Gujare Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/ozwpan/ozurbparanoia.h b/drivers/staging/ozwpan/ozurbparanoia.h index 00f5a3a81bc8..5080ea76f507 100644 --- 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 */