diff options
author | Oleksij Rempel <bug-track@fisher-privat.net> | 2012-05-10 03:59:23 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-05-10 12:57:17 -0400 |
commit | 231a1a25eb9ccf3ac57f1908500a8d08ba28a62c (patch) | |
tree | 4d079fa3556eaefa9dfdfd39a472b7b497ecd840 | |
parent | 5085d12749df87ee6df8ac5f60c9b59133a4bfae (diff) |
staging: rts5139: remove unused rts51x_reset_pipe in rts51x_transport.*
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>
-rw-r--r-- | drivers/staging/rts5139/rts51x_transport.c | 5 | ||||
-rw-r--r-- | drivers/staging/rts5139/rts51x_transport.h | 6 |
2 files changed, 0 insertions, 11 deletions
diff --git a/drivers/staging/rts5139/rts51x_transport.c b/drivers/staging/rts5139/rts51x_transport.c index 56fba00e983d..70adff46f9ce 100644 --- a/drivers/staging/rts5139/rts51x_transport.c +++ b/drivers/staging/rts5139/rts51x_transport.c | |||
@@ -380,11 +380,6 @@ static int rts51x_clear_halt(struct rts51x_chip *chip, unsigned int pipe) | |||
380 | return STATUS_SUCCESS; | 380 | return STATUS_SUCCESS; |
381 | } | 381 | } |
382 | 382 | ||
383 | int rts51x_reset_pipe(struct rts51x_chip *chip, char pipe) | ||
384 | { | ||
385 | return rts51x_clear_halt(chip, pipe); | ||
386 | } | ||
387 | |||
388 | static void rts51x_sg_clean(struct usb_sg_request *io) | 383 | static void rts51x_sg_clean(struct usb_sg_request *io) |
389 | { | 384 | { |
390 | if (io->urbs) { | 385 | if (io->urbs) { |
diff --git a/drivers/staging/rts5139/rts51x_transport.h b/drivers/staging/rts5139/rts51x_transport.h index ed6b8b2b11aa..024f115540a6 100644 --- a/drivers/staging/rts5139/rts51x_transport.h +++ b/drivers/staging/rts5139/rts51x_transport.h | |||
@@ -56,12 +56,6 @@ int rts51x_transfer_data_partial(struct rts51x_chip *chip, unsigned int pipe, | |||
56 | unsigned int len, int use_sg, | 56 | unsigned int len, int use_sg, |
57 | unsigned int *act_len, int timeout); | 57 | unsigned int *act_len, int timeout); |
58 | 58 | ||
59 | /* whichPipe: | ||
60 | * 0: bulk in pipe | ||
61 | * 1: bulk out pipe | ||
62 | * 2: intr in pipe */ | ||
63 | int rts51x_reset_pipe(struct rts51x_chip *chip, char pipe); | ||
64 | |||
65 | #ifndef POLLING_IN_THREAD | 59 | #ifndef POLLING_IN_THREAD |
66 | int rts51x_start_epc_transfer(struct rts51x_chip *chip); | 60 | int rts51x_start_epc_transfer(struct rts51x_chip *chip); |
67 | void rts51x_cancel_epc_transfer(struct rts51x_chip *chip); | 61 | void rts51x_cancel_epc_transfer(struct rts51x_chip *chip); |