diff options
author | Joe Perches <joe@perches.com> | 2013-07-23 13:45:02 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-07-23 14:34:53 -0700 |
commit | 155c71435cba5ac6761999011bc729cbd94cdac7 (patch) | |
tree | 8d74b444ea24bf928b2fa994b2e037fac674e2f8 /drivers/staging/ozwpan | |
parent | 05f608f237dcc3c4e5188d054d9918cbfd2916c2 (diff) | |
download | blackbird-obmc-linux-155c71435cba5ac6761999011bc729cbd94cdac7.tar.gz blackbird-obmc-linux-155c71435cba5ac6761999011bc729cbd94cdac7.zip |
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>
Diffstat (limited to 'drivers/staging/ozwpan')
-rw-r--r-- | drivers/staging/ozwpan/ozurbparanoia.h | 4 |
1 files changed, 2 insertions, 2 deletions
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 */ |