From 20c316ee21e9ec72dee63bb8f4988a1d7f28fa90 Mon Sep 17 00:00:00 2001 From: Tzafrir Cohen Date: Wed, 25 Jan 2012 21:17:34 +0000 Subject: [PATCH] dev_set_name(): remove unneeded ';' Signed-off-by: Tzafrir Cohen git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@10448 a0bf4364-ded3-4de4-8d8a-66a801d63aff --- include/dahdi/kernel.h | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/include/dahdi/kernel.h b/include/dahdi/kernel.h index f141562..b64069e 100644 --- a/include/dahdi/kernel.h +++ b/include/dahdi/kernel.h @@ -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