Skip to content

Commit ee16f2a

Browse files
dedekindDavid Woodhouse
authored andcommitted
mtd: onenand: kill unused variable
Fix this gcc warning: drivers/mtd/onenand/onenand_base.c: In function ‘onenand_block_markbad’: drivers/mtd/onenand/onenand_base.c:2636:23: warning: unused variable ‘this’ [-Wunused-variable] Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com> Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
1 parent d5de20a commit ee16f2a

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

‎drivers/mtd/onenand/onenand_base.c‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2633,7 +2633,6 @@ static int onenand_default_block_markbad(struct mtd_info *mtd, loff_t ofs)
26332633
*/
26342634
static int onenand_block_markbad(struct mtd_info *mtd, loff_t ofs)
26352635
{
2636-
struct onenand_chip *this = mtd->priv;
26372636
int ret;
26382637

26392638
ret = onenand_block_isbad(mtd, ofs);

0 commit comments

Comments
 (0)