summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2019-05-21 09:06:33 +0200
committerMiquel Raynal <miquel.raynal@bootlin.com>2019-06-27 20:05:26 +0200
commit727ab978e526bfbca8f8e3892178aed55b688e57 (patch)
treef1a0f416cba2ece78203293429a01d05ec3748b1
parent3045f8e369634152b5a9389fa11e766ae7696bdf (diff)
mtd: rawnand: gpmi: remove unused variable
The "private" member of struct gpmi_nand_data isn't used anywhere. Remove it. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de> Reviewed-by: Miquel Raynal <miquel.raynal@bootlin.com> Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
-rw-r--r--drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.h b/drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.h
index e001c84b75fa..ba074a35ff01 100644
--- a/drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.h
+++ b/drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.h
@@ -154,9 +154,6 @@ struct gpmi_nand_data {
#define DMA_CHANS 8
struct dma_chan *dma_chans[DMA_CHANS];
struct completion dma_done;
-
- /* private */
- void *private;
};
/* BCH : Status Block Completion Codes */