]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit6184285c7e9d6b1bd43f037f70e16e0bbe0c941c
tree849110ac36c9ccfd5d646bb3cf2fd7a07920a33d
parent9952af08af291bce82152dbdc4064b3d44c3ce76
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