[dahdi-commits] sruffell: branch linux/sruffell/dahdi-linux-parallelload r7369 - /linux/team/...
SVN commits to the DAHDI project
dahdi-commits at lists.digium.com
Fri Oct 9 10:31:50 CDT 2009
Author: sruffell
Date: Fri Oct 9 10:31:39 2009
New Revision: 7369
URL: http://svnview.digium.com/svn/dahdi?view=rev&rev=7369
Log:
wip: make sure the synchronize cookie call gets optimized out if not used.
Modified:
linux/team/sruffell/dahdi-linux-parallelload/drivers/dahdi/wctdm24xxp/base.c
Modified: linux/team/sruffell/dahdi-linux-parallelload/drivers/dahdi/wctdm24xxp/base.c
URL: http://svnview.digium.com/svn/dahdi/linux/team/sruffell/dahdi-linux-parallelload/drivers/dahdi/wctdm24xxp/base.c?view=diff&rev=7369&r1=7368&r2=7369
==============================================================================
--- linux/team/sruffell/dahdi-linux-parallelload/drivers/dahdi/wctdm24xxp/base.c (original)
+++ linux/team/sruffell/dahdi-linux-parallelload/drivers/dahdi/wctdm24xxp/base.c Fri Oct 9 10:31:39 2009
@@ -3562,11 +3562,7 @@
async_synchronize_cookie_domain(cookie, &wc->async_domain);
}
#else
-static void wctdm_synchronize_cookie(struct wctdm *wc, async_cookie_t cookie)
-{
- wc; cookie;
- return;
-}
+#define wctdm_synchronize_cookie(__a__, __b__) do { ; } while(0)
#endif
static void __wctdm_locate_module(struct wctdm *wc, int x, async_cookie_t cookie)
More information about the dahdi-commits
mailing list