From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-lj1-x242.google.com ([2a00:1450:4864:20::242]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1g83G9-0007d3-HN for linux-mtd@lists.infradead.org; Thu, 04 Oct 2018 13:01:44 +0000 Received: by mail-lj1-x242.google.com with SMTP id z21-v6so8306951ljz.0 for ; Thu, 04 Oct 2018 06:01:31 -0700 (PDT) From: Ricardo Ribalda Delgado To: David Woodhouse , Brian Norris , Boris Brezillon , Marek Vasut , Richard Weinberger , Zhouyang Jia , linux-mtd@lists.infradead.org, open list Cc: Ricardo Ribalda Delgado Subject: [PATCH v6 02/10] mtd: physmap_of: Remove unused struct of_device_id Date: Thu, 4 Oct 2018 15:01:02 +0200 Message-Id: <20181004130110.8496-2-ricardo.ribalda@gmail.com> In-Reply-To: <20181004130110.8496-1-ricardo.ribalda@gmail.com> References: <20181004130110.8496-1-ricardo.ribalda@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , This struct does not seem to be used anywhere on the code Signed-off-by: Ricardo Ribalda Delgado --- drivers/mtd/maps/physmap_of_gemini.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/drivers/mtd/maps/physmap_of_gemini.c b/drivers/mtd/maps/physmap_of_gemini.c index 830b1b7e702b..9df62ca721d5 100644 --- a/drivers/mtd/maps/physmap_of_gemini.c +++ b/drivers/mtd/maps/physmap_of_gemini.c @@ -44,11 +44,6 @@ #define FLASH_PARALLEL_HIGH_PIN_CNT (1 << 20) /* else low pin cnt */ -static const struct of_device_id syscon_match[] = { - { .compatible = "cortina,gemini-syscon" }, - { }, -}; - int of_flash_probe_gemini(struct platform_device *pdev, struct device_node *np, struct map_info *map) -- 2.19.0