diff --git a/net/core/dev.c b/net/core/dev.c index f66e61407883..e7260889d4cb 100644 --- a/net/core/dev.c +++ b/net/core/dev.c @@ -10868,7 +10868,7 @@ noinline void netdev_core_stats_inc(struct net_device *dev, u32 offset) return; } - field = (__force unsigned long __percpu *)((__force void *)p + offset); + field = (unsigned long __percpu *)((void __percpu *)p + offset); this_cpu_inc(*field); } EXPORT_SYMBOL_GPL(netdev_core_stats_inc);