From f56079ddb2382f5f74f4dac5dc75abe2434e389a Mon Sep 17 00:00:00 2001 From: James Simmons Date: Fri, 11 Oct 2013 12:08:45 -0400 Subject: [PATCH] LU-3319 procfs: remove unsed proc entry for target handler With 3.10 and above kernels we end up using a new data structure for proc handling. In the target handler code we have an unsed lprocfs_vars so we remove it to avoid compile issues. Signed-off-by: James Simmons Change-Id: I22d3d3b1aed852df93e448d3b793884344d1719a Reviewed-on: http://review.whamcloud.com/7929 Tested-by: Hudson Tested-by: Maloo Reviewed-by: Mike Pershin Reviewed-by: Bob Glossman Reviewed-by: Oleg Drokin --- lustre/target/tgt_main.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/lustre/target/tgt_main.c b/lustre/target/tgt_main.c index c34be01..bcf2b2f 100644 --- a/lustre/target/tgt_main.c +++ b/lustre/target/tgt_main.c @@ -140,10 +140,6 @@ EXPORT_SYMBOL(tgt_session_key); LU_KEY_INIT_GENERIC(tgt_ses); -struct lprocfs_vars lprocfs_srv_module_vars[] = { - { 0 }, -}; - int tgt_mod_init(void) { ENTRY; -- 1.8.3.1