r8169: simplify code by using core-provided pcpu stats allocation
authorHeiner Kallweit <hkallweit1@gmail.com>
Sat, 10 Feb 2024 16:58:29 +0000 (17:58 +0100)
committerPaolo Abeni <pabeni@redhat.com>
Tue, 13 Feb 2024 12:21:48 +0000 (13:21 +0100)
commit400909df6e6543cb5cce3db9bbcd413d59125327
tree7716d16a2e4da010fe981a0eda0e9f22dd2c0561
parent86fe596b588fc9ec23bf93a5c8f86fc16225dd3a
r8169: simplify code by using core-provided pcpu stats allocation

Use core-provided pcpu stats allocation instead of open-coding it in
the driver.

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Link: https://lore.kernel.org/r/03f5bb3b-d7f4-48be-ae8a-54862ec4566c@gmail.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
drivers/net/ethernet/realtek/r8169_main.c