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
Unknown Object (File)
Jan 17 2025, 4:50 PM
Unknown Object (File)
Jan 7 2025, 7:32 PM
Unknown Object (File)
Nov 24 2024, 1:15 AM
Unknown Object (File)
Oct 25 2024, 5:32 PM
Unknown Object (File)
Oct 21 2024, 10:49 PM
Unknown Object (File)
Oct 16 2024, 3:56 PM
Unknown Object (File)
Sep 16 2024, 12:53 PM
Unknown Object (File)
Sep 12 2024, 6:52 AM
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 Not Applicable
Unit
Tests Not Applicable

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.