aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/firewire
diff options
context:
space:
mode:
authorMax Khon <fjoe@FreeBSD.org>2009-02-09 16:58:18 +0000
committerMax Khon <fjoe@FreeBSD.org>2009-02-09 16:58:18 +0000
commit0a5eaa9d0e286bd36a122b77c762178c20f3b5de (patch)
tree721f4d9a1850108638063edecbf355a41fe4a1d7 /sys/dev/firewire
parent166366b5cd44e683f2dd6abba1b5176596fb3c67 (diff)
downloadsrc-0a5eaa9d0e286bd36a122b77c762178c20f3b5de.tar.gz
src-0a5eaa9d0e286bd36a122b77c762178c20f3b5de.zip
Do not self-initialize a variable.
Found with: Coverity Prevent(tm) CID: 3864, 3865
Notes
Notes: svn path=/head/; revision=188394
Diffstat (limited to 'sys/dev/firewire')
-rw-r--r--sys/dev/firewire/if_fwe.c2
-rw-r--r--sys/dev/firewire/if_fwip.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/firewire/if_fwe.c b/sys/dev/firewire/if_fwe.c
index dfc44cab6b6b..1c88af8eaa4c 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 b99e37892e81..90df5a52c4f8 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)) {