diff options
author | Glauber Costa <glommer@parallels.com> | 2012-05-29 15:07:05 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-05-29 16:22:27 -0700 |
commit | 04eac7ffdea1090f81bc33bd8f4bf072b1fe5bdb (patch) | |
tree | 8ee96376aa4c1d21500dcaa52e074ef5dfe71a58 /mm/memcontrol.c | |
parent | 2f3479b1478e223f142fe9cd27a2d2a4c3573c53 (diff) | |
download | op-kernel-dev-04eac7ffdea1090f81bc33bd8f4bf072b1fe5bdb.zip op-kernel-dev-04eac7ffdea1090f81bc33bd8f4bf072b1fe5bdb.tar.gz |
rescounter: remove __must_check from res_counter_charge_nofail()
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.
Signed-off-by: Glauber Costa <glommer@parallels.com>
Signed-off-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
Cc: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Cc: Michal Hocko <mhocko@suse.cz>
Cc: Johannes Weiner <hannes@cmpxchg.org>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Ying Han <yinghan@google.com>
Reviewed-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/memcontrol.c')
0 files changed, 0 insertions, 0 deletions