From: James Simmons Date: Fri, 11 Oct 2013 16:08:45 +0000 (-0400) Subject: LU-3319 procfs: remove unsed proc entry for target handler X-Git-Tag: 2.5.51~45 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=refs%2Fchanges%2F29%2F7929%2F2;p=fs%2Flustre-release.git 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 --- 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;