[PATCH v1 2/2] lsusb: Remove unused function.

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

 



The get_audioterminal_string() function is now unused.

Signed-off-by: Michael Drake <michael.drake@xxxxxxxxxxxxxxx>
---
 lsusb.c | 12 ------------
 1 file changed, 12 deletions(-)

diff --git a/lsusb.c b/lsusb.c
index a1b7f8d..1650016 100644
--- a/lsusb.c
+++ b/lsusb.c
@@ -217,18 +217,6 @@ static int get_protocol_string(char *buf, size_t size, u_int8_t cls, u_int8_t su
 	return snprintf(buf, size, "%s", cp);
 }
 
-static int get_audioterminal_string(char *buf, size_t size, u_int16_t termt)
-{
-	const char *cp;
-
-	if (size < 1)
-		return 0;
-	*buf = 0;
-	if (!(cp = names_audioterminal(termt)))
-		return 0;
-	return snprintf(buf, size, "%s", cp);
-}
-
 static int get_videoterminal_string(char *buf, size_t size, u_int16_t termt)
 {
 	const char *cp;
-- 
2.11.0

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



[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux