[PATCH 3/6] [C67x00] Remove unnecessary references to pt_regs

Grant Likely <[email protected]>
Newsgroups gmane.linux.usb.devel,gmane.linux.ports.ppc.embedded
Message-ID <[email protected]>
Signed-off-by: Grant Likely <[email protected]>
---
 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


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
[email protected]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.