diff options
author | Aya Mahfouz <mahfouz.saif.elyazal@gmail.com> | 2014-10-25 23:33:06 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-10-28 16:12:39 +0800 |
commit | 8a43572c32ffbfe122c38873e29e98ef7ace1709 (patch) | |
tree | 92e23cbe938e5d195cd0a5a5d96cee133b8d91c8 /drivers/staging/dgnc | |
parent | 1e06c3a492107ca392798ccf835288969ea269ec (diff) | |
download | linux-8a43572c32ffbfe122c38873e29e98ef7ace1709.tar.gz linux-8a43572c32ffbfe122c38873e29e98ef7ace1709.tar.bz2 linux-8a43572c32ffbfe122c38873e29e98ef7ace1709.zip |
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>
Diffstat (limited to 'drivers/staging/dgnc')
-rw-r--r-- | drivers/staging/dgnc/dgnc_kcompat.h | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/drivers/staging/dgnc/dgnc_kcompat.h b/drivers/staging/dgnc/dgnc_kcompat.h index eaec7e6a28e1..4a347e54fe7f 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 */ |