From: Greg Kroah-Hartman Date: Wed, 15 Jul 2009 19:45:20 +0000 (-0700) Subject: Staging: hv: remove UNUSED_VAR usage X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=4e9bfefa3c0262726607d7633cbcbec7a3f50df4;p=openwrt%2Fstaging%2Fblogic.git Staging: hv: remove UNUSED_VAR usage This isn't needed at all. Cc: Hank Janssen Cc: Haiyang Zhang Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/hv/include/osd.h b/drivers/staging/hv/include/osd.h index 5bb72bc71bb6..18f5233e4ffd 100644 --- a/drivers/staging/hv/include/osd.h +++ b/drivers/staging/hv/include/osd.h @@ -30,8 +30,6 @@ // -#define UNUSED_VAR(v) v __attribute__((__unused__)) - #define ALIGN_UP(value, align) ( ((value) & (align-1))? ( ((value) + (align-1)) & ~(align-1) ): (value) ) #define ALIGN_DOWN(value, align) ( (value) & ~(align-1) ) #define NUM_PAGES_SPANNED(addr, len) ( (ALIGN_UP(addr+len, PAGE_SIZE) - ALIGN_DOWN(addr, PAGE_SIZE)) >> PAGE_SHIFT ) diff --git a/drivers/staging/hv/netvsc_drv.c b/drivers/staging/hv/netvsc_drv.c index 502a4bd1632c..54f66daeab43 100644 --- a/drivers/staging/hv/netvsc_drv.c +++ b/drivers/staging/hv/netvsc_drv.c @@ -154,7 +154,7 @@ Desc: Set the multicast list Remark: No-op here --*/ -static void netvsc_set_multicast_list(UNUSED_VAR(struct net_device *net)) +static void netvsc_set_multicast_list(struct net_device *net) { }