diff options
author | Constantine A. Murenin <cnst@cvs.openbsd.org> | 2008-11-10 07:23:44 +0000 |
---|---|---|
committer | Constantine A. Murenin <cnst@cvs.openbsd.org> | 2008-11-10 07:23:44 +0000 |
commit | 714f322a8bf0ea4c8e9a528576186a9ff6ce6c29 (patch) | |
tree | c3527bf98f48d70b7cb8668b8492c351a5ae9f8f /sys/dev/pci | |
parent | c6be0ce4f21a39f5570c453158e727f482842f0c (diff) |
don't assign ifp to ifp; llvm/clang; ok jsg
Diffstat (limited to 'sys/dev/pci')
-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) |