diff --git a/drivers/staging/dgnc/dgnc_kcompat.h b/drivers/staging/dgnc/dgnc_kcompat.h index eaec7e6a28e131eabaae19139496be79e8422ac1..4a347e54fe7f48949d2b621cdff1d786e69031b6 100644 --- a/drivers/staging/dgnc/dgnc_kcompat.h +++ b/drivers/staging/dgnc/dgnc_kcompat.h @@ -42,23 +42,10 @@ # define __chk_user_ptr(x) (void)0 # endif - -# define PARM_STR(VAR, INIT, PERM, DESC) \ - static char *VAR = INIT; \ - char *dgnc_##VAR; \ - module_param(VAR, charp, PERM); \ - MODULE_PARM_DESC(VAR, DESC); - # define PARM_INT(VAR, INIT, PERM, DESC) \ static int VAR = INIT; \ int dgnc_##VAR; \ module_param(VAR, int, PERM); \ MODULE_PARM_DESC(VAR, DESC); -# define PARM_ULONG(VAR, INIT, PERM, DESC) \ - static ulong VAR = INIT; \ - ulong dgnc_##VAR; \ - module_param(VAR, long, PERM); \ - MODULE_PARM_DESC(VAR, DESC); - #endif /* ! __DGNC_KCOMPAT_H */