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 unreachable code.



details:   https://anonhg.NetBSD.org/src/rev/e880f4f76f68
branches:  trunk
changeset: 808182:e880f4f76f68
user:      christos <christos%NetBSD.org@localhost>
date:      Sat May 09 13:08:26 2015 +0000

description:
remove unreachable code.

diffstat:

 sys/dev/pci/ixgbe/ixgbe.c |  4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)

diffs (21 lines):

diff -r f9d7f6a1859d -r e880f4f76f68 sys/dev/pci/ixgbe/ixgbe.c
--- a/sys/dev/pci/ixgbe/ixgbe.c Sat May 09 13:07:20 2015 +0000
+++ b/sys/dev/pci/ixgbe/ixgbe.c Sat May 09 13:08:26 2015 +0000
@@ -59,7 +59,7 @@
  * POSSIBILITY OF SUCH DAMAGE.
  */
 /*$FreeBSD: head/sys/dev/ixgbe/ixgbe.c 250108 2013-04-30 16:18:29Z luigi $*/
-/*$NetBSD: ixgbe.c,v 1.29 2015/05/06 09:21:22 msaitoh Exp $*/
+/*$NetBSD: ixgbe.c,v 1.30 2015/05/09 13:08:26 christos Exp $*/
 
 #include "opt_inet.h"
 #include "opt_inet6.h"
@@ -1977,8 +1977,6 @@
                default:
                        adapter->other_tx_dma_setup.ev_count++;
                        return error;
-               case 0:
-                       break;
                }
        }
 



Home | Main Index | Thread Index | Old Index