mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2025-01-10 07:00:48 +00:00
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>
This commit is contained in:
parent
05f608f237
commit
155c71435c
@ -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 */
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user