summaryrefslogtreecommitdiffstats
path: root/drivers/staging/dgnc
diff options
context:
space:
mode:
authorAya Mahfouz <mahfouz.saif.elyazal@gmail.com>2014-10-25 23:47:57 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-10-28 16:12:39 +0800
commitac611dc60fc0cc050344861668f916c191f4b6cd (patch)
tree57aa6086db948c59fddeb968d6170fc3b4f53541 /drivers/staging/dgnc
parent2a71a3c7c7c1add1ecbfba4ef77c28ef234e82b4 (diff)
downloadlinux-ac611dc60fc0cc050344861668f916c191f4b6cd.tar.bz2
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 <mahfouz.saif.elyazal@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/dgnc')
-rw-r--r--drivers/staging/dgnc/dgnc_kcompat.h5
1 files changed, 0 insertions, 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 */