> On 10/28/2023 7:53 AM, Chaoyong He wrote: > > The data structure 'struct nfp_net_adapter' has only one data field > > and we won't extend it in the future, which makes this abstraction > > unneeded, so remove this data structure and the related macro > > 'NFP_NET_DEV_PRIVATE_TO_HW'. > > > > Mentioned abstract struct, 'struct nfp_net_adapter', is not removed in this > patch, although mentioned macro removed.
Oh, It should be missed when I do rebase, sorry about it. > > Since there is not user of the struct after this patch, I guess intention was > to > remove the struct, so if there is no other issue I can remove the struct while > merging. It's nice, thank you very much! > > > > Signed-off-by: Chaoyong He <chaoyong...@corigine.com> > > Reviewed-by: Peng Zhang <peng.zh...@corigine.com>