--- zzzz-none-000/linux-3.10.107/include/linux/percpu_counter.h 2017-06-27 09:49:32.000000000 +0000 +++ vr9-7490-729/linux-3.10.107/include/linux/percpu_counter.h 2021-11-10 11:53:56.000000000 +0000 @@ -95,7 +95,7 @@ return 0; } -static inline void percpu_counter_destroy(struct percpu_counter *fbc) +static inline void percpu_counter_destroy(struct percpu_counter *fbc __attribute__((unused))) { } @@ -123,7 +123,7 @@ } static inline void -__percpu_counter_add(struct percpu_counter *fbc, s64 amount, s32 batch) +__percpu_counter_add(struct percpu_counter *fbc, s64 amount, s32 batch __attribute__((unused))) { percpu_counter_add(fbc, amount); } @@ -152,7 +152,7 @@ return percpu_counter_read(fbc); } -static inline int percpu_counter_initialized(struct percpu_counter *fbc) +static inline int percpu_counter_initialized(struct percpu_counter *fbc __attribute__((unused))) { return 1; }