mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-25 11:37:56 +00:00
Do not self-initialize a variable.
Found with: Coverity Prevent(tm) CID: 3864, 3865
This commit is contained in:
parent
166366b5cd
commit
0a5eaa9d0e
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=188394
@ -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