Skip to content

Commit 1091585

Browse files
hanxu-nxpmiquelraynal
authored andcommitted
mtd: rawnand: gpmi: Uninline the gpmi_check_ecc function
The gpmi_check_ecc() is not small after adding more strict ecc check, uninline it. Signed-off-by: Han Xu <han.xu@nxp.com> Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com> Link: https://lore.kernel.org/linux-mtd/20220412025246.24269-4-han.xu@nxp.com
1 parent d10af38 commit 1091585

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,7 @@ static void gpmi_dump_info(struct gpmi_nand_data *this)
238238
geo->block_mark_bit_offset);
239239
}
240240

241-
static inline bool gpmi_check_ecc(struct gpmi_nand_data *this)
241+
static bool gpmi_check_ecc(struct gpmi_nand_data *this)
242242
{
243243
struct nand_chip *chip = &this->nand;
244244
struct bch_geometry *geo = &this->bch_geometry;

0 commit comments

Comments
 (0)