+ usb-print_schedule_frame-defined-but-not-used-warning-fix.patch added to -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The patch titled
     usb 'print_schedule_frame' defined but not used warning fix
has been added to the -mm tree.  Its filename is
     usb-print_schedule_frame-defined-but-not-used-warning-fix.patch

See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find
out what to do about this

------------------------------------------------------
Subject: usb 'print_schedule_frame' defined but not used warning fix
From: Mariusz Kozlowski <m.kozlowski@xxxxxxxxxx>

drivers/usb/host/ehci-sched.c:270: warning: 'print_schedule_frame' defined but not used

Signed-off-by: Mariusz Kozlowski <m.kozlowski@xxxxxxxxxx>
Cc: Greg KH <greg@xxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxx>
---

 drivers/usb/host/ehci-sched.c |    2 ++
 1 file changed, 2 insertions(+)

diff -puN drivers/usb/host/ehci-sched.c~usb-print_schedule_frame-defined-but-not-used-warning-fix drivers/usb/host/ehci-sched.c
--- a/drivers/usb/host/ehci-sched.c~usb-print_schedule_frame-defined-but-not-used-warning-fix
+++ a/drivers/usb/host/ehci-sched.c
@@ -265,6 +265,7 @@ static void print_budget (struct ehci_hc
 		print_budget_frame(ehci,i,insert,owner);
 }
 
+#if 0
 static void print_schedule_frame (char *pre,struct ehci_hcd *ehci, int frame,
 				  void *insert)
 {
@@ -333,6 +334,7 @@ static void print_schedule_frame (char *
 	}
 	printk("\n");
 }
+#endif
 
 /* find position of a specific entry in the periodic schedule (ie,
  * returns pointers such that we can update the predecessor's
_

Patches currently in -mm which might be from m.kozlowski@xxxxxxxxxx are

usb-print_schedule_frame-defined-but-not-used-warning-fix.patch

-
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel Newbies FAQ]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux