aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_iface.c
diff options
context:
space:
mode:
authorMichal Hocko <[email protected]>2013-04-29 15:07:43 -0700
committerLinus Torvalds <[email protected]>2013-04-29 15:54:34 -0700
commitacb6d558f4c8fbacc8e774c9d7737220a3777882 (patch)
tree862853828c3a666455dc78a6f807e764d8ab5ad1 /net/lapb/lapb_iface.c
parentee5df0570c8af2610b28ab79bd8f8f8195687773 (diff)
memcg: do not check for do_swap_account in mem_cgroup_{read,write,reset}
Since commit 2d11085e404f ("memcg: do not create memsw files if swap accounting is disabled") memsw files are created only if memcg swap accounting is enabled so it doesn't make any sense to check for it explicitly in mem_cgroup_read(), mem_cgroup_write() and mem_cgroup_reset(). Signed-off-by: Michal Hocko <[email protected]> Cc: Kamezawa Hiroyuki <[email protected]> Cc: Tejun Heo <[email protected]> Acked-by: Johannes Weiner <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'net/lapb/lapb_iface.c')
0 files changed, 0 insertions, 0 deletions