The get_audioterminal_string() function is now unused.
Signed-off-by: Michael Drake <[email protected]>
---
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 [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html