Signed-off-by: Krzysztof Opasiak <[email protected]>
---
examples/gadget-acm-ecm.c | 1 -
examples/show-gadgets.c | 1 -
src/usbg.c | 2 --
3 files changed, 4 deletions(-)
diff --git a/examples/gadget-acm-ecm.c b/examples/gadget-acm-ecm.c
index b3c776d..5b027b6 100644
--- a/examples/gadget-acm-ecm.c
+++ b/examples/gadget-acm-ecm.c
@@ -31,7 +31,6 @@ int main(void)
{
usbg_state *s;
usbg_gadget *g;
- usbg_function *f;
usbg_config *c;
usbg_function *f_acm0, *f_acm1, *f_ecm;
int ret = -EINVAL;
diff --git a/examples/show-gadgets.c b/examples/show-gadgets.c
index 9814039..7ba9687 100644
--- a/examples/show-gadgets.c
+++ b/examples/show-gadgets.c
@@ -125,7 +125,6 @@ int main(void)
usbg_gadget *g;
usbg_function *f;
usbg_config *c;
- usbg_binding *b;
s = usbg_init("/sys/kernel/config");
if (!s) {
diff --git a/src/usbg.c b/src/usbg.c
index 5e803f1..91165b8 100644
--- a/src/usbg.c
+++ b/src/usbg.c
@@ -110,14 +110,12 @@ const char *function_names[] =
};
#define ERROR(msg, ...) do {\
- char *str;\
fprintf(stderr, "%s() "msg" \n", \
__func__, ##__VA_ARGS__);\
fflush(stderr);\
} while (0)
#define ERRORNO(msg, ...) do {\
- char *str;\
fprintf(stderr, "%s() %s: "msg" \n", \
__func__, strerror(errno), ##__VA_ARGS__);\
fflush(stderr);\
--
1.7.9.5
--
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