diff options
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-08-04 00:16:25 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-08-04 00:16:25 (GMT) |
commit | 6960736c01732ad952aa6c513976fa0b95166873 (patch) | |
tree | 51aedb3c418934b32b556ccee6b6b1dd0c15e89f /drivers/staging/lustre/include | |
parent | 305ec768ff192996b4dcb326c5980cd8a96fa948 (diff) | |
download | linux-fsl-qoriq-6960736c01732ad952aa6c513976fa0b95166873.tar.xz |
staging: lustre: remove cfs_module() macro
Open code the module_init/module_exit lines, and also use
MODULE_VERSION, as it seems that was intended, but just never hooked up
at all.
Cc: Peng Tao <tao.peng@emc.com>
Cc: Andreas Dilger <andreas.dilger@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/lustre/include')
-rw-r--r-- | drivers/staging/lustre/include/linux/libcfs/linux/linux-prim.h | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/drivers/staging/lustre/include/linux/libcfs/linux/linux-prim.h b/drivers/staging/lustre/include/linux/libcfs/linux/linux-prim.h index 722d90c..64e75c7 100644 --- a/drivers/staging/lustre/include/linux/libcfs/linux/linux-prim.h +++ b/drivers/staging/lustre/include/linux/libcfs/linux/linux-prim.h @@ -107,15 +107,6 @@ typedef struct task_struct task_t; current->journal_info = journal_info; \ } while(0) -/* Module interfaces */ -#define cfs_module(name, version, init, fini) \ - module_init(init); \ - module_exit(fini) - -/* - * Signal - */ - /* * Timer */ |