diff options
| author | 2026-09-27 21:54:05 +0800 | |
|---|---|---|
| committer | 2026-09-29 15:24:40 +0200 | |
| commit | 2a5043c8b7d09f2fc76c19270fd687b774c5a68b (patch) | |
| tree | 872e8e1cdb7b09a143f98179eddc54cc822e7cbd /scripts/Makefile.thinlto | |
| parent | Merge branch 'netlink-specs-enum-alignment-fixes' (diff) | |
net: pktgen: return bool from __pktgen_NN_threads()
Callers of __pktgen_NN_threads() only check whether a pktgen_dev was
found. Returning the pointer exposes it outside the helper even though
neither caller uses the object itself.
Return bool instead and keep the pktgen_dev pointer internal to the
helper.
Suggested-by: Paolo Abeni <pabeni@redhat.com>
Signed-off-by: Chengfeng Ye <nicoyip.dev@gmail.com>
Reviewed-by: Ivy Lopez <skunkolee@gmail.com>
Reviewed-by: Hangbin Liu <liuhangbin@kylinos.cn>
Link: https://patch.msgid.link/20260927135406.3969970-1-nicoyip.dev@gmail.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
