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.
Showing the changes to include (1 of 1 file). Show all
Unified · Split
| @@ -119,7 +119,7 @@ int __must_check res_counter_charge_locked(struct res_counter *counter, · 118 unmodified lines | ||
| 119 | 119 | unsigned long val, bool force); |
| 120 | 120 | int __must_check res_counter_charge(struct res_counter *counter, |
| 121 | 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 | 123 | unsigned long val, struct res_counter **limit_fail_at); |
| 124 | 124 | |
| 125 | 125 | /* |