diff options
author | fjoe <fjoe@FreeBSD.org> | 2009-02-09 16:58:18 +0000 |
---|---|---|
committer | fjoe <fjoe@FreeBSD.org> | 2009-02-09 16:58:18 +0000 |
commit | 7dcae636587612944c71b9a5d3f63fe88ab68ccc (patch) | |
tree | 721f4d9a1850108638063edecbf355a41fe4a1d7 | |
parent | aec292fbe04fe111acc24e0ea2d6926508a794d7 (diff) | |
download | FreeBSD-src-7dcae636587612944c71b9a5d3f63fe88ab68ccc.zip FreeBSD-src-7dcae636587612944c71b9a5d3f63fe88ab68ccc.tar.gz |
Do not self-initialize a variable.
Found with: Coverity Prevent(tm)
CID: 3864, 3865
-rw-r--r-- | sys/dev/firewire/if_fwe.c | 2 | ||||
-rw-r--r-- | sys/dev/firewire/if_fwip.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/firewire/if_fwe.c b/sys/dev/firewire/if_fwe.c index dfc44ca..1c88af8 100644 --- a/sys/dev/firewire/if_fwe.c +++ b/sys/dev/firewire/if_fwe.c @@ -445,7 +445,7 @@ fwe_ioctl(struct ifnet *ifp, u_long cmd, caddr_t data) #ifdef DEVICE_POLLING { struct ifreq *ifr = (struct ifreq *) data; - struct firewire_comm *fc = fc = fwe->fd.fc; + struct firewire_comm *fc = fwe->fd.fc; if (ifr->ifr_reqcap & IFCAP_POLLING && !(ifp->if_capenable & IFCAP_POLLING)) { diff --git a/sys/dev/firewire/if_fwip.c b/sys/dev/firewire/if_fwip.c index b99e378..90df5a5 100644 --- a/sys/dev/firewire/if_fwip.c +++ b/sys/dev/firewire/if_fwip.c @@ -427,7 +427,7 @@ fwip_ioctl(struct ifnet *ifp, u_long cmd, caddr_t data) #ifdef DEVICE_POLLING { struct ifreq *ifr = (struct ifreq *) data; - struct firewire_comm *fc = fc = fwip->fd.fc; + struct firewire_comm *fc = fwip->fd.fc; if (ifr->ifr_reqcap & IFCAP_POLLING && !(ifp->if_capenable & IFCAP_POLLING)) { |