diff options
-rw-r--r-- | drivers/mtd/nand/fsl_elbc_nand.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/mtd/nand/fsl_elbc_nand.c b/drivers/mtd/nand/fsl_elbc_nand.c index 915b4a4c06c2..3c2f03c55cac 100644 --- a/drivers/mtd/nand/fsl_elbc_nand.c +++ b/drivers/mtd/nand/fsl_elbc_nand.c | |||
@@ -829,7 +829,6 @@ static int fsl_elbc_chip_remove(struct fsl_elbc_mtd *priv) | |||
829 | 829 | ||
830 | elbc_fcm_ctrl->chips[priv->bank] = NULL; | 830 | elbc_fcm_ctrl->chips[priv->bank] = NULL; |
831 | kfree(priv); | 831 | kfree(priv); |
832 | kfree(elbc_fcm_ctrl); | ||
833 | return 0; | 832 | return 0; |
834 | } | 833 | } |
835 | 834 | ||