Re: [PATCH v3 00/14] Remove unnecessary function pointer deref

2025-03-05 Thread David Marchand
On Thu, Feb 20, 2025 at 5:57 PM Stephen Hemminger wrote: > > A common pattern in DPDK internals is to have an array of function > pointers. When using these pointers an unnecessary derefence is done; > this is allowed in C because of a historical quirk but unnecessary. > > This fixes all instances

[PATCH v3 00/14] Remove unnecessary function pointer deref

2025-02-20 Thread Stephen Hemminger
A common pattern in DPDK internals is to have an array of function pointers. When using these pointers an unnecessary derefence is done; this is allowed in C because of a historical quirk but unnecessary. This fixes all instances of PVS Studio checker warning: https://pvs-studio.com/en/docs/warni