diff options
author | Brad Smith <brad@cvs.openbsd.org> | 2006-03-04 23:31:21 +0000 |
---|---|---|
committer | Brad Smith <brad@cvs.openbsd.org> | 2006-03-04 23:31:21 +0000 |
commit | 17db9f33a256344b4f30ecf531cb6c6d1d9d1f4e (patch) | |
tree | db01223952c802caf2c251f5456c1ad2890aa3b8 /sys | |
parent | eeae27349a8a242292a5b509b1c3d0761ae74421 (diff) |
remove extraneous brackets.
From Mike Pechkin <mpech at mail dot ru>
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/ic/xl.c | 7 |
1 files 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: |