diff options
author | Aya Mahfouz <mahfouz.saif.elyazal@gmail.com> | 2014-10-25 23:47:57 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-10-28 16:12:39 +0800 |
commit | ac611dc60fc0cc050344861668f916c191f4b6cd (patch) | |
tree | 57aa6086db948c59fddeb968d6170fc3b4f53541 /drivers/staging/dgnc | |
parent | 2a71a3c7c7c1add1ecbfba4ef77c28ef234e82b4 (diff) | |
download | linux-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.h | 5 |
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 */ |