OSDN Git Service

arm64: mte: Remove unused mte_assign_mem_tag_range()
authorVincenzo Frascino <vincenzo.frascino@arm.com>
Wed, 7 Apr 2021 13:38:17 +0000 (14:38 +0100)
committerCatalin Marinas <catalin.marinas@arm.com>
Thu, 8 Apr 2021 16:45:43 +0000 (17:45 +0100)
commitdf652a16a65735c228c88e5fb75a938614f1368b
treec1908e2e4aa2e75bc0174936d675ac879f954739
parenta7dcf58ae5d2f7c6f1bbe13290897f539f9cd75b
arm64: mte: Remove unused mte_assign_mem_tag_range()

mte_assign_mem_tag_range() was added in commit 85f49cae4dfc
("arm64: mte: add in-kernel MTE helpers") in 5.11 but moved out of
mte.S by commit 2cb34276427a ("arm64: kasan: simplify and inline
MTE functions") in 5.12 and renamed to mte_set_mem_tag_range().
2cb34276427a did not delete the old function prototypes in mte.h.

Remove the unused prototype from mte.h.

Cc: Will Deacon <will@kernel.org>
Reported-by: Derrick McKee <derrick.mckee@gmail.com>
Signed-off-by: Vincenzo Frascino <vincenzo.frascino@arm.com>
Link: https://lore.kernel.org/r/20210407133817.23053-1-vincenzo.frascino@arm.com
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
arch/arm64/include/asm/mte.h