From 17db9f33a256344b4f30ecf531cb6c6d1d9d1f4e Mon Sep 17 00:00:00 2001 From: Brad Smith Date: Sat, 4 Mar 2006 23:31:21 +0000 Subject: remove extraneous brackets. From Mike Pechkin --- sys/dev/ic/xl.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/sys/dev/ic/xl.c b/sys/dev/ic/xl.c index cb165826d2a..fb2b44bd7d7 100644 --- a/sys/dev/ic/xl.c +++ b/sys/dev/ic/xl.c @@ -1,4 +1,4 @@ -/* $OpenBSD: xl.c,v 1.70 2006/01/20 05:49:32 brad Exp $ */ +/* $OpenBSD: xl.c,v 1.71 2006/03/04 23:31:20 brad Exp $ */ /* * Copyright (c) 1997, 1998, 1999 @@ -2371,11 +2371,10 @@ xl_ioctl(ifp, command, data) break; case SIOCSIFMTU: - if(ifr->ifr_mtu > ETHERMTU || ifr->ifr_mtu < ETHERMIN) { + if (ifr->ifr_mtu > ETHERMTU || ifr->ifr_mtu < ETHERMIN) error = EINVAL; - } else if (ifp->if_mtu != ifr->ifr_mtu) { + else if (ifp->if_mtu != ifr->ifr_mtu) ifp->if_mtu = ifr->ifr_mtu; - } break; case SIOCSIFFLAGS: -- cgit v1.2.3