Since we will succeed with the allocation no matter what, there isn't a need to use __must_check with it. It can very well be optional.
Unified · Split
| @@ -119,7 +119,7 @@ int __must_check res_counter_charge_locked(struct res_counter *counter, · 118 unmodified lines | |||
| 119 | unsigned long val, bool force); | 119 | unsigned long val, bool force); |
| 120 | int __must_check res_counter_charge(struct res_counter *counter, | 120 | int __must_check res_counter_charge(struct res_counter *counter, |
| 121 | unsigned long val, struct res_counter **limit_fail_at); | 121 | unsigned long val, struct res_counter **limit_fail_at); |
| 122 | int __must_check res_counter_charge_nofail(struct res_counter *counter, | 122 | int res_counter_charge_nofail(struct res_counter *counter, |
| 123 | unsigned long val, struct res_counter **limit_fail_at); | 123 | unsigned long val, struct res_counter **limit_fail_at); |
| 124 | 124 | ||
| 125 | /* | 125 | /* |