X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=blobdiff_plain;f=lnet%2Flnet%2Frouter_proc.c;h=0fe5a3f8377499c0f75d988f26cff66cf1bd3bed;hp=e39e1ee4ad2b63747933b87d4234f772be9e4956;hb=c6aab2ca77831852db22b7dc39baed4d06405b7e;hpb=d97075bb9644dba102491280690e58ad8caf1acf;ds=sidebyside diff --git a/lnet/lnet/router_proc.c b/lnet/lnet/router_proc.c index e39e1ee..0fe5a3f 100644 --- a/lnet/lnet/router_proc.c +++ b/lnet/lnet/router_proc.c @@ -3,8 +3,7 @@ * * Copyright (c) 2011, 2013, Intel Corporation. * - * This file is part of Portals - * http://sourceforge.net/projects/sandiaportals/ + * This file is part of Lustre, https://wiki.hpdd.intel.com/ * * Portals is free software; you can redistribute it and/or * modify it under the terms of version 2 of the GNU General Public @@ -25,8 +24,6 @@ #include #include -#if defined(__KERNEL__) && defined(LNET_ROUTER) - /* This is really lnet_proc.c. You might need to update sanity test 215 * if any file format is changed. */ @@ -790,8 +787,6 @@ static struct lnet_portal_rotors portal_rotors[] = { }, }; -extern int portal_rotor; - static int __proc_lnet_portal_rotor(void *data, int write, loff_t pos, void __user *buffer, int nob) { @@ -943,17 +938,3 @@ lnet_proc_fini(void) lnet_table_header = NULL; #endif } - -#else - -void -lnet_proc_init(void) -{ -} - -void -lnet_proc_fini(void) -{ -} - -#endif