mirror of https://gitee.com/openkylin/linux.git
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);
|
||||
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 */
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue