aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/net_dropmonitor.py
diff options
context:
space:
mode:
authorDavidlohr Bueso <[email protected]>2014-08-06 16:06:45 -0700
committerLinus Torvalds <[email protected]>2014-08-06 18:01:19 -0700
commit2f4612af43d4854c892f5ef8ed7a98b6492aee44 (patch)
tree4c8534fb31083bb59f225124f252abd7fa8a3486 /tools/perf/scripts/python/net_dropmonitor.py
parenteb39d618f9e80f81cfc5788cf1b252d141c2f0c3 (diff)
mm,hugetlb: make unmap_ref_private() return void
This function always returns 1, thus no need to check return value in hugetlb_cow(). By doing so, we can get rid of the unnecessary WARN_ON call. While this logic perhaps existed as a way of identifying future unmap_ref_private() mishandling, reality is it serves no apparent purpose. Signed-off-by: Davidlohr Bueso <[email protected]> Cc: Aswin Chandramouleeswaran <[email protected]> Acked-by: David Rientjes <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions