|
@@ -2633,7 +2633,6 @@ static int onenand_default_block_markbad(struct mtd_info *mtd, loff_t ofs)
|
|
|
*/
|
|
*/
|
|
|
static int onenand_block_markbad(struct mtd_info *mtd, loff_t ofs)
|
|
static int onenand_block_markbad(struct mtd_info *mtd, loff_t ofs)
|
|
|
{
|
|
{
|
|
|
- struct onenand_chip *this = mtd->priv;
|
|
|
|
|
int ret;
|
|
int ret;
|
|
|
|
|
|
|
|
ret = onenand_block_isbad(mtd, ofs);
|
|
ret = onenand_block_isbad(mtd, ofs);
|