summaryrefslogtreecommitdiff
path: root/tools/lib/python/kdoc
diff options
context:
space:
mode:
authorChengfeng Ye <nicoyip.dev@gmail.com>2026-09-27 21:54:05 +0800
committerPaolo Abeni <pabeni@redhat.com>2026-09-29 15:24:40 +0200
commit2a5043c8b7d09f2fc76c19270fd687b774c5a68b (patch)
tree872e8e1cdb7b09a143f98179eddc54cc822e7cbd /tools/lib/python/kdoc
parent62d7b9186cad08324d6b9d262631104bb215e67d (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 'tools/lib/python/kdoc')
0 files changed, 0 insertions, 0 deletions