> From: Stephen Hemminger [mailto:step...@networkplumber.org]
> Sent: Monday, 17 February 2025 19.54
> 
> 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.
> 
> The PVS Studio checker flags these as:
>  https://pvs-studio.com/en/docs/warnings/v516/
> 
> This leads to a large number of warnings marked as High severity.
> This patchset simplifies the source and gets rid of these warnings.
> 
> It should have no impact on the resulting binary.

+1 to this RFC.
The code becomes much cleaner to read.

Reply via email to