diff options
author | Brad Smith <brad@cvs.openbsd.org> | 2006-10-24 20:14:44 +0000 |
---|---|---|
committer | Brad Smith <brad@cvs.openbsd.org> | 2006-10-24 20:14:44 +0000 |
commit | def4aa1f9b1018d9dc2325f56795666e41bea711 (patch) | |
tree | 524a2ad062b050ad97a8811cd1aa75267199971d | |
parent | 86acf7b6c566cbef13fb134cc35332f9cd0d9d2a (diff) |
remove useless chunks of code that do nothing, since endian adjustments
only have to be made for little endian architectures.
-rw-r--r-- | sys/dev/pci/if_xge.c | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/sys/dev/pci/if_xge.c b/sys/dev/pci/if_xge.c index 64b09d3d045..83474ad20ff 100644 --- a/sys/dev/pci/if_xge.c +++ b/sys/dev/pci/if_xge.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_xge.c,v 1.34 2006/10/23 21:08:22 brad Exp $ */ +/* $OpenBSD: if_xge.c,v 1.35 2006/10/24 20:14:43 brad Exp $ */ /* $NetBSD: if_xge.c,v 1.1 2005/09/09 10:30:27 ragge Exp $ */ /* @@ -387,10 +387,6 @@ xge_attach(struct device *parent, struct device *self, void *aux) val &= ~(TxF_R_SE|RxF_W_SE); PIF_WCSR(SWAPPER_CTRL, val); PIF_WCSR(SWAPPER_CTRL, val); -#elif BYTE_ORDER == BIG_ENDIAN - /* do nothing */ -#else -#error bad endianness! #endif if ((val = PIF_RCSR(PIF_RD_SWAPPER_Fb)) != SWAPPER_MAGIC) { @@ -430,10 +426,6 @@ xge_attach(struct device *parent, struct device *self, void *aux) val &= ~(TxF_R_SE|RxF_W_SE); PIF_WCSR(SWAPPER_CTRL, val); PIF_WCSR(SWAPPER_CTRL, val); -#elif BYTE_ORDER == BIG_ENDIAN - /* do nothing */ -#else -#error bad endianness! #endif if ((val = PIF_RCSR(PIF_RD_SWAPPER_Fb)) != SWAPPER_MAGIC) { |