diff options
author | Oleksij Rempel <bug-track@fisher-privat.net> | 2012-05-10 09:59:28 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-05-10 09:57:18 -0700 |
commit | 29b11698765e3735ec56598a8dadb010850f2b9b (patch) | |
tree | 7032a60f9459b6c90291fe6b9d224636cde1dce5 /drivers/staging/rts5139 | |
parent | 1db67664dc9342aee79e5a88f104400d5be42410 (diff) | |
download | linux-29b11698765e3735ec56598a8dadb010850f2b9b.tar.bz2 |
staging: rts5139: remove unused xd_check_err_code in xd.c
Signed-off-by: Oleksij Rempel <bug-track@fisher-privat.net>
Acked-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/rts5139')
-rw-r--r-- | drivers/staging/rts5139/xd.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/drivers/staging/rts5139/xd.c b/drivers/staging/rts5139/xd.c index 09f1b4c9b9a8..ef8872d7b7a7 100644 --- a/drivers/staging/rts5139/xd.c +++ b/drivers/staging/rts5139/xd.c @@ -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); |