Skip to content

Commit

Permalink
staging: rts5139: remove unused xd_check_err_code in xd.c
Browse files Browse the repository at this point in the history
Signed-off-by: Oleksij Rempel <[email protected]>
Acked-by: Dan Carpenter <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
  • Loading branch information
olerem authored and gregkh committed May 10, 2012
1 parent 1db6766 commit 29b1169
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions drivers/staging/rts5139/xd.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 29b1169

Please sign in to comment.