Skip to content

Commit

Permalink
staging: rts5139: remove unused rts51x_reset_pipe in rts51x_transport.*
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Oleksij Rempel authored and Greg Kroah-Hartman committed May 10, 2012
1 parent 5085d12 commit 231a1a2
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 11 deletions.
5 changes: 0 additions & 5 deletions drivers/staging/rts5139/rts51x_transport.c
Original file line number Diff line number Diff line change
Expand Up @@ -380,11 +380,6 @@ static int rts51x_clear_halt(struct rts51x_chip *chip, unsigned int pipe)
return STATUS_SUCCESS;
}

int rts51x_reset_pipe(struct rts51x_chip *chip, char pipe)
{
return rts51x_clear_halt(chip, pipe);
}

static void rts51x_sg_clean(struct usb_sg_request *io)
{
if (io->urbs) {
Expand Down
6 changes: 0 additions & 6 deletions drivers/staging/rts5139/rts51x_transport.h
Original file line number Diff line number Diff line change
Expand Up @@ -56,12 +56,6 @@ int rts51x_transfer_data_partial(struct rts51x_chip *chip, unsigned int pipe,
unsigned int len, int use_sg,
unsigned int *act_len, int timeout);

/* whichPipe:
* 0: bulk in pipe
* 1: bulk out pipe
* 2: intr in pipe */
int rts51x_reset_pipe(struct rts51x_chip *chip, char pipe);

#ifndef POLLING_IN_THREAD
int rts51x_start_epc_transfer(struct rts51x_chip *chip);
void rts51x_cancel_epc_transfer(struct rts51x_chip *chip);
Expand Down

0 comments on commit 231a1a2

Please sign in to comment.