staging: dgnc: dgnc_kcompat.h: remove unused macro
authorAya Mahfouz <mahfouz.saif.elyazal@gmail.com>
Sat, 25 Oct 2014 21:47:57 +0000 (23:47 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 28 Oct 2014 08:12:39 +0000 (16:12 +0800)
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>
drivers/staging/dgnc/dgnc_kcompat.h

index 4a347e54fe7f48949d2b621cdff1d786e69031b6..566cad0d33e7fc01e81e6c4d3d14f03ebf853d84 100644 (file)
 #  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 */