ntb_netdev: Simplify remove with client device drvdata
Replace the elaborate private structure global linked-list used in ntb_netdev_probe() and ntb_netdev_remove() by stashing our private data in the NTB transport client device. Signed-off-by: NAaron Sierra <asierra@xes-inc.com> Reviewed-by: NLogan Gunthorpe <logang@deltatee.com> Signed-off-by: NJon Mason <jdmason@kudzu.us>
Showing
想要评论请 注册 或 登录