diff mbox series

[02/10] mtd: rawnand: fsl_upm: Get rid of the unused fsl_upm_nand.parts field

Message ID 20200603134922.1352340-3-boris.brezillon@collabora.com
State Accepted
Headers show
Series mtd: rawnand: fsl_upm: Convert to exec_op() (and more) | expand

Commit Message

Boris Brezillon June 3, 2020, 1:49 p.m. UTC
fsl_upm_nand.parts is unused, let's get rid of it.

Signed-off-by: Boris Brezillon <boris.brezillon@collabora.com>
---
 drivers/mtd/nand/raw/fsl_upm.c | 1 -
 1 file changed, 1 deletion(-)

Comments

Miquel Raynal June 3, 2020, 1:50 p.m. UTC | #1
Boris Brezillon <boris.brezillon@collabora.com> wrote on Wed,  3 Jun
2020 15:49:14 +0200:

> fsl_upm_nand.parts is unused, let's get rid of it.
> 
> Signed-off-by: Boris Brezillon <boris.brezillon@collabora.com>
> ---
>  drivers/mtd/nand/raw/fsl_upm.c | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/drivers/mtd/nand/raw/fsl_upm.c b/drivers/mtd/nand/raw/fsl_upm.c
> index 76d1032cd35e..6eba2f4a2f5a 100644
> --- a/drivers/mtd/nand/raw/fsl_upm.c
> +++ b/drivers/mtd/nand/raw/fsl_upm.c
> @@ -29,7 +29,6 @@ struct fsl_upm_nand {
>  	struct device *dev;
>  	struct nand_chip chip;
>  	int last_ctrl;
> -	struct mtd_partition *parts;
>  	struct fsl_upm upm;
>  	uint8_t upm_addr_offset;
>  	uint8_t upm_cmd_offset;

Reviewed-by: Miquel Raynal <miquel.raynal@bootlin.com>
Miquel Raynal June 15, 2020, 9:02 a.m. UTC | #2
On Wed, 2020-06-03 at 13:49:14 UTC, Boris Brezillon wrote:
> fsl_upm_nand.parts is unused, let's get rid of it.
> 
> Signed-off-by: Boris Brezillon <boris.brezillon@collabora.com>
> Reviewed-by: Miquel Raynal <miquel.raynal@bootlin.com>

Applied to https://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git nand/next, thanks.

Miquel
diff mbox series

Patch

diff --git a/drivers/mtd/nand/raw/fsl_upm.c b/drivers/mtd/nand/raw/fsl_upm.c
index 76d1032cd35e..6eba2f4a2f5a 100644
--- a/drivers/mtd/nand/raw/fsl_upm.c
+++ b/drivers/mtd/nand/raw/fsl_upm.c
@@ -29,7 +29,6 @@  struct fsl_upm_nand {
 	struct device *dev;
 	struct nand_chip chip;
 	int last_ctrl;
-	struct mtd_partition *parts;
 	struct fsl_upm upm;
 	uint8_t upm_addr_offset;
 	uint8_t upm_cmd_offset;