]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
- There's no need to ignore the return value of mii_attach(9) when attaching
authormarius <marius@FreeBSD.org>
Fri, 18 Nov 2011 21:22:43 +0000 (21:22 +0000)
committermarius <marius@FreeBSD.org>
Fri, 18 Nov 2011 21:22:43 +0000 (21:22 +0000)
commit6cf2a5617ad16242464cc11698e6c33bd522f237
tree4c317ab664c421b22cb220e0cbeb3c40bcc0782b
parent7a8f5d578296f2fddf3dadd02a52678e037cd76d
- There's no need to ignore the return value of mii_attach(9) when attaching
  dcphy(4) (CID 9283).
- In dc_detach(), check whether ifp is NULL as dc_attach() may call the
  former without ifp being allocated (CID 4288).

Found with: Coverity Prevent(tm)
sys/dev/dc/if_dc.c