staging: dgnc: dgnc_kcompat.h: remove unused macros
This patch removes the macros PARM_STR and PARM_ULONG given that they are not used anywhere in the driver files. Signed-off-by: Aya Mahfouz <mahfouz.saif.elyazal@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
1e06c3a492
commit
8a43572c32
|
@ -42,23 +42,10 @@
|
||||||
# define __chk_user_ptr(x) (void)0
|
# define __chk_user_ptr(x) (void)0
|
||||||
# endif
|
# 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) \
|
# define PARM_INT(VAR, INIT, PERM, DESC) \
|
||||||
static int VAR = INIT; \
|
static int VAR = INIT; \
|
||||||
int dgnc_##VAR; \
|
int dgnc_##VAR; \
|
||||||
module_param(VAR, int, PERM); \
|
module_param(VAR, int, PERM); \
|
||||||
MODULE_PARM_DESC(VAR, DESC);
|
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 */
|
#endif /* ! __DGNC_KCOMPAT_H */
|
||||||
|
|
Loading…
Reference in New Issue