[RFC 17/18] net/hinic3: add FDIR flow control module
Stephen Hemminger
stephen at networkplumber.org
Fri Apr 18 20:25:40 CEST 2025
On Fri, 18 Apr 2025 17:06:03 +0800
Feifei Wang <wff_light at vip.163.com> wrote:
> + (void)hinic3_mutex_unlock(&nic_dev->pause_mutuex);
Please don't add extra (void) here.
That is an older style used when C code was using lint.
And if you have an internal mutex_unlock function why is it returning
a value anyway. Should be void function.
More information about the dev
mailing list