From ac611dc60fc0cc050344861668f916c191f4b6cd Mon Sep 17 00:00:00 2001 From: Aya Mahfouz Date: Sat, 25 Oct 2014 23:47:57 +0200 Subject: [PATCH] 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 --- drivers/staging/dgnc/dgnc_kcompat.h | 5 ----- 1 file changed, 5 deletions(-) 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 */ -- 2.39.5