Page MenuHomeFreeBSD

netfront: remove useless NULL check in netif_free
ClosedPublic

Authored by liuw_liuw.name on Feb 11 2016, 11:40 AM.
Tags
None
Referenced Files
F83081740: D5252.diff
Mon, May 6, 12:52 AM
Unknown Object (File)
Fri, Apr 26, 6:10 AM
Unknown Object (File)
Fri, Apr 26, 3:14 AM
Unknown Object (File)
Fri, Apr 26, 3:13 AM
Unknown Object (File)
Thu, Apr 25, 10:09 PM
Unknown Object (File)
Jan 9 2024, 10:33 AM
Unknown Object (File)
Nov 6 2023, 11:43 PM
Unknown Object (File)
Jun 13 2023, 4:00 PM
Subscribers

Details

Summary

xn_ifp is allocated in create_netdev with if_alloc(IFT_ETHER).
According to the current arrangement it can't be NULL.

This is CID 1349805.

Signed-off-by: Wei Liu <wei.liu2@citrix.com>

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 2461
Build 2478: arc lint + arc unit

Event Timeline

liuw_liuw.name retitled this revision from to netfront: remove useless NULL check in netif_free.
liuw_liuw.name updated this object.
liuw_liuw.name edited the test plan for this revision. (Show Details)
liuw_liuw.name added a reviewer: royger.
royger edited edge metadata.
This revision is now accepted and ready to land.Feb 11 2016, 11:54 AM
This revision was automatically updated to reflect the committed changes.