Do not self-initialize a variable.
Found with: Coverity Prevent(tm) CID: 3864, 3865
This commit is contained in:
parent
166366b5cd
commit
0a5eaa9d0e
@ -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)) {
|
||||
|
@ -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)) {
|
||||
|
Loading…
Reference in New Issue
Block a user