Skip to content

Commit 9029537

Browse files
JasonYanHwrichardweinberger
authored andcommitted
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 <[email protected]> Signed-off-by: Jason Yan <[email protected]> Reviewed-by: Linus Walleij <[email protected]> Signed-off-by: Richard Weinberger <[email protected]>
1 parent 48e9912 commit 9029537

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

drivers/mtd/maps/physmap-gemini.c

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -46,11 +46,6 @@
4646

4747
#define FLASH_PARALLEL_HIGH_PIN_CNT (1 << 20) /* else low pin cnt */
4848

49-
static const struct of_device_id syscon_match[] = {
50-
{ .compatible = "cortina,gemini-syscon" },
51-
{ },
52-
};
53-
5449
struct gemini_flash {
5550
struct device *dev;
5651
struct pinctrl *p;

0 commit comments

Comments
 (0)