Chris Kelly | 066b222 | 2012-02-20 21:12:35 +0000 | [diff] [blame] | 1 | #ifndef _OZURBPARANOIA_H |
| 2 | #define _OZURBPARANOIA_H |
| 3 | /* ----------------------------------------------------------------------------- |
| 4 | * Released under the GNU General Public License Version 2 (GPLv2). |
| 5 | * Copyright (c) 2011 Ozmo Inc |
| 6 | * ----------------------------------------------------------------------------- |
| 7 | */ |
| 8 | |
| 9 | #ifdef WANT_URB_PARANOIA |
| 10 | void oz_remember_urb(struct urb *urb); |
| 11 | int oz_forget_urb(struct urb *urb); |
| 12 | #else |
Joe Perches | 155c714 | 2013-07-23 13:45:02 +0100 | [diff] [blame] | 13 | static inline void oz_remember_urb(struct urb *urb) {} |
| 14 | static inline int oz_forget_urb(struct urb *urb) { return 0; } |
Chris Kelly | 066b222 | 2012-02-20 21:12:35 +0000 | [diff] [blame] | 15 | #endif /* WANT_URB_PARANOIA */ |
| 16 | |
| 17 | |
| 18 | #endif /* _OZURBPARANOIA_H */ |
| 19 | |