mtd: physmap_of_gemini: remove defined but not used symbol 'syscon_match'
authorJason Yan <yanaijie@huawei.com>
Fri, 3 Apr 2020 08:15:44 +0000 (16:15 +0800)
committerRichard Weinberger <richard@nod.at>
Fri, 5 Jun 2020 08:15:44 +0000 (10:15 +0200)
commit9029537c93b6f7347cf213d4e3b5c935a4d07ac8
tree849110ac36c9ccfd5d646bb3cf2fd7a07920a33d
parent48e9912e033050a9e5e895a58c2e5a826d7c6540
mtd: physmap_of_gemini: remove defined but not used symbol 'syscon_match'

It's not used by anyone now, remove it. Fix the following gcc warning:

drivers/mtd/maps/physmap-gemini.c:49:34: warning: â€˜syscon_match’ defined
but not used [-Wunused-const-variable=]
 static const struct of_device_id syscon_match[] = {
                                  ^~~~~~~~~~~~

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Jason Yan <yanaijie@huawei.com>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Richard Weinberger <richard@nod.at>
drivers/mtd/maps/physmap-gemini.c