[PATCH 3/6] [C67x00] Remove unnecessary references to pt_regs
Grant Likely
grant.likely at secretlab.ca
Wed Jun 13 09:02:18 EST 2007
Signed-off-by: Grant Likely <grant.likely at secretlab.ca>
---
drivers/usb/c67x00/c67x00-sched.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/drivers/usb/c67x00/c67x00-sched.c b/drivers/usb/c67x00/c67x00-sched.c
index 0d08af7..3a870cf 100644
--- a/drivers/usb/c67x00/c67x00-sched.c
+++ b/drivers/usb/c67x00/c67x00-sched.c
@@ -956,7 +956,7 @@ static inline void clear_pipe(struct c67x00_hcd *c67x00,
/* -------------------------------------------------------------------------- */
static void handle_successful_td(struct c67x00_hcd *c67x00,
- struct c67x00_td *td, struct pt_regs *regs)
+ struct c67x00_td *td)
{
struct urb *urb = td->urb;
@@ -1025,7 +1025,7 @@ static void handle_isoc(struct c67x00_hcd *c67x00, struct c67x00_td *td)
* check_td_list - handle tds which have been processed by the c67x00
* pre: current_td == 0
*/
-static void check_td_list(struct c67x00_hcd *c67x00, struct pt_regs *regs)
+static void check_td_list(struct c67x00_hcd *c67x00)
{
struct c67x00_td *td, *tmp;
struct urb *urb;
@@ -1070,7 +1070,7 @@ static void check_td_list(struct c67x00_hcd *c67x00, struct pt_regs *regs)
}
clear_endpoint = 0;
- handle_successful_td(c67x00, td, regs);
+ handle_successful_td(c67x00, td);
cont:
if (clear_endpoint)
@@ -1132,7 +1132,7 @@ static void c67x00_do_work(struct c67x00_hcd *c67x00)
if (!all_tds_processed(c67x00))
goto out;
- check_td_list(c67x00, NULL);
+ check_td_list(c67x00);
/* no td's are being processed (current == 0)
* and all have been "checked" */
--
1.4.4.2
More information about the Linuxppc-embedded
mailing list