[dahdi-commits] tzafrir: linux/trunk r10448 - /linux/trunk/include/dahdi/kernel.h
SVN commits to the DAHDI project
dahdi-commits at lists.digium.com
Wed Jan 25 15:17:37 CST 2012
Author: tzafrir
Date: Wed Jan 25 15:17:34 2012
New Revision: 10448
URL: http://svnview.digium.com/svn/dahdi?view=rev&rev=10448
Log:
dev_set_name(): remove unneeded ';'
Signed-off-by: Tzafrir Cohen <tzafrir.cohen at xorcom.com>
Modified:
linux/trunk/include/dahdi/kernel.h
Modified: linux/trunk/include/dahdi/kernel.h
URL: http://svnview.digium.com/svn/dahdi/linux/trunk/include/dahdi/kernel.h?view=diff&rev=10448&r1=10447&r2=10448
==============================================================================
--- linux/trunk/include/dahdi/kernel.h (original)
+++ linux/trunk/include/dahdi/kernel.h Wed Jan 25 15:17:34 2012
@@ -101,10 +101,8 @@
# else
#define dev_name(dev) ((dev)->bus_id)
# endif
-#define dev_set_name(dev, fmt, ...) \
- do { \
- snprintf((dev)->bus_id, BUS_ID_SIZE, fmt, ## __VA_ARGS__); \
- } while (0)
+#define dev_set_name(dev, format, ...) \
+ snprintf((dev)->bus_id, BUS_ID_SIZE, format, ## __VA_ARGS__)
#endif
/*! Default chunk size for conferences and such -- static right now, might make
More information about the dahdi-commits
mailing list