Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 29b11698 authored by Oleksij Rempel's avatar Oleksij Rempel Committed by Greg Kroah-Hartman
Browse files

staging: rts5139: remove unused xd_check_err_code in xd.c

parent 1db67664
Loading
Loading
Loading
Loading
+0 −7
Original line number Diff line number Diff line
@@ -47,13 +47,6 @@ static inline void xd_set_err_code(struct rts51x_chip *chip, u8 err_code)
	xd_card->err_code = err_code;
}

static inline int xd_check_err_code(struct rts51x_chip *chip, u8 err_code)
{
	struct xd_info *xd_card = &(chip->xd_card);

	return (xd_card->err_code == err_code);
}

static int xd_set_init_para(struct rts51x_chip *chip)
{
	struct xd_info *xd_card = &(chip->xd_card);