public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
* [PATCH] mtd: rawnand: qcom: Fix build issue
@ 2023-08-21  5:35 Md Sadre Alam
  2023-08-21  7:29 ` Miquel Raynal
  0 siblings, 1 reply; 2+ messages in thread
From: Md Sadre Alam @ 2023-08-21  5:35 UTC (permalink / raw)
  To: mani, miquel.raynal, richard, vigneshr, linux-mtd, linux-arm-msm,
	linux-kernel
  Cc: quic_mdalam, quic_srichara

Fix the build issue, after removing unused variable nandc
in qcom_parse_instructions() function.

Fixes: 0bb2bd18efe8 ("mtd: rawnand: qcom: Add read/read_start ops in exec_op path")
Signed-off-by: Sricharan Ramabadhran <quic_srichara@quicinc.com>
Signed-off-by: Md Sadre Alam <quic_mdalam@quicinc.com>
---
 drivers/mtd/nand/raw/qcom_nandc.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/mtd/nand/raw/qcom_nandc.c b/drivers/mtd/nand/raw/qcom_nandc.c
index 370a779610e2..6aff45f32260 100644
--- a/drivers/mtd/nand/raw/qcom_nandc.c
+++ b/drivers/mtd/nand/raw/qcom_nandc.c
@@ -2593,7 +2593,6 @@ static int qcom_parse_instructions(struct nand_chip *chip,
 				    const struct nand_subop *subop,
 				    struct qcom_op *q_op)
 {
-	struct qcom_nand_controller *nandc = get_qcom_nand_controller(chip);
 	const struct nand_op_instr *instr = NULL;
 	unsigned int op_id;
 	int i, ret;
-- 
2.17.1


______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] mtd: rawnand: qcom: Fix build issue
  2023-08-21  5:35 [PATCH] mtd: rawnand: qcom: Fix build issue Md Sadre Alam
@ 2023-08-21  7:29 ` Miquel Raynal
  0 siblings, 0 replies; 2+ messages in thread
From: Miquel Raynal @ 2023-08-21  7:29 UTC (permalink / raw)
  To: Md Sadre Alam
  Cc: mani, richard, vigneshr, linux-mtd, linux-arm-msm, linux-kernel,
	quic_srichara

Hello,

quic_mdalam@quicinc.com wrote on Mon, 21 Aug 2023 11:05:13 +0530:

> Fix the build issue, after removing unused variable nandc
> in qcom_parse_instructions() function.
> 
> Fixes: 0bb2bd18efe8 ("mtd: rawnand: qcom: Add read/read_start ops in exec_op path")

I will squash this fix.

> Signed-off-by: Sricharan Ramabadhran <quic_srichara@quicinc.com>
> Signed-off-by: Md Sadre Alam <quic_mdalam@quicinc.com>
> ---
>  drivers/mtd/nand/raw/qcom_nandc.c | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/drivers/mtd/nand/raw/qcom_nandc.c b/drivers/mtd/nand/raw/qcom_nandc.c
> index 370a779610e2..6aff45f32260 100644
> --- a/drivers/mtd/nand/raw/qcom_nandc.c
> +++ b/drivers/mtd/nand/raw/qcom_nandc.c
> @@ -2593,7 +2593,6 @@ static int qcom_parse_instructions(struct nand_chip *chip,
>  				    const struct nand_subop *subop,
>  				    struct qcom_op *q_op)
>  {
> -	struct qcom_nand_controller *nandc = get_qcom_nand_controller(chip);
>  	const struct nand_op_instr *instr = NULL;
>  	unsigned int op_id;
>  	int i, ret;


Thanks,
Miquèl

______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-08-21  7:29 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-08-21  5:35 [PATCH] mtd: rawnand: qcom: Fix build issue Md Sadre Alam
2023-08-21  7:29 ` Miquel Raynal

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox