mm/hmm: remove unused code and tidy comments
authorJason Gunthorpe <jgg@mellanox.com>
Fri, 27 Mar 2020 20:00:15 +0000 (17:00 -0300)
committerJason Gunthorpe <jgg@mellanox.com>
Fri, 27 Mar 2020 23:19:24 +0000 (20:19 -0300)
commitf970b977e068aa54e6eaf916a964a0abaf028afe
tree7dd7fb9a72700b1c87f6e124d99e7d0f53507a33
parenta3eb13c1579ba97d79fbbc98bc5b1296a3688a25
mm/hmm: remove unused code and tidy comments

Delete several functions that are never called, fix some desync between
comments and structure content, toss the now out of date top of file
header, and move one function only used by hmm.c into hmm.c

Link: https://lore.kernel.org/r/20200327200021.29372-4-jgg@ziepe.ca
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
include/linux/hmm.h
mm/hmm.c