Whamcloud - gitweb
LU-11054 lnet: remove non-error error message 60/32560/2
authorJohn L. Hammond <john.hammond@intel.com>
Fri, 25 May 2018 14:36:31 +0000 (09:36 -0500)
committerOleg Drokin <oleg.drokin@intel.com>
Thu, 7 Jun 2018 20:10:02 +0000 (20:10 +0000)
In lnet_ipif_enumerate(), remove the CERROR() that prints each device.

Test-Parameters: trivial
Signed-off-by: John L. Hammond <john.hammond@intel.com>
Change-Id: Ida8d1636e9e608087205defabda865f930fd38a1
Reviewed-on: https://review.whamcloud.com/32560
Tested-by: Jenkins
Reviewed-by: Amir Shehata <amir.shehata@intel.com>
Reviewed-by: James Simmons <uja.ornl@yahoo.com>
Reviewed-by: Sonia Sharma <sonia.sharma@intel.com>
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lnet/lnet/lib-socket.c

index 4c081fe..0a10a38 100644 (file)
@@ -204,7 +204,6 @@ lnet_ipif_enumerate(char ***namesp)
        i = 0;
        for_each_netdev(sock_net(sock->sk), dev) {
                nob = strnlen(dev->name, IFNAMSIZ);
        i = 0;
        for_each_netdev(sock_net(sock->sk), dev) {
                nob = strnlen(dev->name, IFNAMSIZ);
-               CERROR("netdev %s\n", dev->name);
                if (nob == IFNAMSIZ) {
                        /* no space for terminating NULL */
                        CERROR("interface name %.*s too long (%d max)\n",
                if (nob == IFNAMSIZ) {
                        /* no space for terminating NULL */
                        CERROR("interface name %.*s too long (%d max)\n",