From: Aya Mahfouz Date: Sat, 25 Oct 2014 21:47:57 +0000 (+0200) Subject: staging: dgnc: dgnc_kcompat.h: remove unused macro X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=ac611dc60fc0cc050344861668f916c191f4b6cd;p=openwrt%2Fstaging%2Fblogic.git staging: dgnc: dgnc_kcompat.h: remove unused macro This patch removes the macro PARM_INT after removing all the variables that depended on it. Signed-off-by: Aya Mahfouz Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/dgnc/dgnc_kcompat.h b/drivers/staging/dgnc/dgnc_kcompat.h index 4a347e54fe7f..566cad0d33e7 100644 --- a/drivers/staging/dgnc/dgnc_kcompat.h +++ b/drivers/staging/dgnc/dgnc_kcompat.h @@ -42,10 +42,5 @@ # define __chk_user_ptr(x) (void)0 # endif -# define PARM_INT(VAR, INIT, PERM, DESC) \ - static int VAR = INIT; \ - int dgnc_##VAR; \ - module_param(VAR, int, PERM); \ - MODULE_PARM_DESC(VAR, DESC); #endif /* ! __DGNC_KCOMPAT_H */