diff options
author | 2008-11-10 07:23:43 +0000 | |
---|---|---|
committer | 2008-11-10 07:23:43 +0000 | |
commit | 6f74b51c57b0eeb5e75fe992a194065bafaf86c2 (patch) | |
tree | 3d36e328bc8200b21965eb9b5a967074ec1a4c1c /sys | |
parent | remove some dead code and fix a comment; llvm/clang; ok jsg (diff) | |
download | wireguard-openbsd-6f74b51c57b0eeb5e75fe992a194065bafaf86c2.tar.xz wireguard-openbsd-6f74b51c57b0eeb5e75fe992a194065bafaf86c2.zip |
don't assign ifp to ifp; llvm/clang; ok jsg
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/pci/if_sis.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pci/if_sis.c b/sys/dev/pci/if_sis.c index d1d94d5b1fc..284256b4174 100644 --- a/sys/dev/pci/if_sis.c +++ b/sys/dev/pci/if_sis.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_sis.c,v 1.83 2008/10/14 18:01:53 naddy Exp $ */ +/* $OpenBSD: if_sis.c,v 1.84 2008/11/10 07:23:43 cnst Exp $ */ /* * Copyright (c) 1997, 1998, 1999 * Bill Paul <wpaul@ctr.columbia.edu>. All rights reserved. @@ -834,7 +834,7 @@ allmulti: void sis_setpromisc(struct sis_softc *sc) { - struct ifnet *ifp = ifp = &sc->arpcom.ac_if; + struct ifnet *ifp = &sc->arpcom.ac_if; /* If we want promiscuous mode, set the allframes bit. */ if (ifp->if_flags & IFF_PROMISC) |