Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/pci/ixgbe Remove debug error message.



details:   https://anonhg.NetBSD.org/src/rev/7b0d2ab29465
branches:  trunk
changeset: 1027198:7b0d2ab29465
user:      msaitoh <msaitoh%NetBSD.org@localhost>
date:      Fri Dec 10 11:22:41 2021 +0000

description:
Remove debug error message.

diffstat:

 sys/dev/pci/ixgbe/ixgbe_common.c |  9 ++-------
 1 files changed, 2 insertions(+), 7 deletions(-)

diffs (30 lines):

diff -r de37c638b1fd -r 7b0d2ab29465 sys/dev/pci/ixgbe/ixgbe_common.c
--- a/sys/dev/pci/ixgbe/ixgbe_common.c  Fri Dec 10 11:21:44 2021 +0000
+++ b/sys/dev/pci/ixgbe/ixgbe_common.c  Fri Dec 10 11:22:41 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ixgbe_common.c,v 1.35 2021/12/10 11:20:13 msaitoh Exp $ */
+/* $NetBSD: ixgbe_common.c,v 1.36 2021/12/10 11:22:41 msaitoh Exp $ */
 
 /******************************************************************************
   SPDX-License-Identifier: BSD-3-Clause
@@ -36,7 +36,7 @@
 /*$FreeBSD: head/sys/dev/ixgbe/ixgbe_common.c 331224 2018-03-19 20:55:05Z erj $*/
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ixgbe_common.c,v 1.35 2021/12/10 11:20:13 msaitoh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ixgbe_common.c,v 1.36 2021/12/10 11:22:41 msaitoh Exp $");
 
 #include "ixgbe_common.h"
 #include "ixgbe_phy.h"
@@ -225,11 +225,6 @@
                break;
        }
 
-       if (!supported)
-               ERROR_REPORT2(IXGBE_ERROR_UNSUPPORTED,
-                             "Device %x does not support flow control autoneg",
-                             hw->device_id);
-
        return supported;
 }
 



Home | Main Index | Thread Index | Old Index