dev_set_name(): remove unneeded ';'

Signed-off-by: Tzafrir Cohen <tzafrir.cohen@xorcom.com>

git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@10448 a0bf4364-ded3-4de4-8d8a-66a801d63aff
This commit is contained in:
Tzafrir Cohen 2012-01-25 21:17:34 +00:00
parent 57e827b2f4
commit 20c316ee21

View File

@ -101,10 +101,8 @@
# else # else
#define dev_name(dev) ((dev)->bus_id) #define dev_name(dev) ((dev)->bus_id)
# endif # endif
#define dev_set_name(dev, fmt, ...) \ #define dev_set_name(dev, format, ...) \
do { \ snprintf((dev)->bus_id, BUS_ID_SIZE, format, ## __VA_ARGS__)
snprintf((dev)->bus_id, BUS_ID_SIZE, fmt, ## __VA_ARGS__); \
} while (0)
#endif #endif
/*! Default chunk size for conferences and such -- static right now, might make /*! Default chunk size for conferences and such -- static right now, might make