[PATCH v2 04/11] net/nfp: remove the unneeded data abstraction
Chaoyong He
chaoyong.he at corigine.com
Thu Nov 2 02:25:27 CET 2023
> 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.he at corigine.com>
> > Reviewed-by: Peng Zhang <peng.zhang at corigine.com>
More information about the dev
mailing list