diff options
| author | Christophe JAILLET <[email protected]> | 2023-05-23 18:17:52 +0000 |
|---|---|---|
| committer | Paolo Abeni <[email protected]> | 2023-05-25 11:35:08 +0000 |
| commit | 623a71385312ee288d59e319b90922e6e6943766 (patch) | |
| tree | d8f09139114f7a017f9f685c285b501554a5f774 /net/unix/af_unix.c | |
| parent | Merge branch 'net-tcp-make-txhash-use-consistent-for-ipv4' (diff) | |
| download | kernel-623a71385312ee288d59e319b90922e6e6943766.tar.gz kernel-623a71385312ee288d59e319b90922e6e6943766.zip | |
net/mlx4: Use bitmap_weight_and()
Use bitmap_weight_and() instead of hand writing it.
This saves a few LoC and is slightly faster, should it mater.
Signed-off-by: Christophe JAILLET <[email protected]>
Reviewed-by: Simon Horman <[email protected]>
Link: https://lore.kernel.org/r/a29c2348a062408bec45cee2601b2417310e5ea7.1684865809.git.christophe.jaillet@wanadoo.fr
Signed-off-by: Paolo Abeni <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
