summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSylvain Munaut <tnt@246tNt.com>2019-07-10 15:40:42 +0200
committerSylvain Munaut <tnt@246tNt.com>2019-07-10 15:40:42 +0200
commitbb1f1997b1f8007bc80e3c17bf0c13166fca5f05 (patch)
treee2d38cb500e5a021a4d92cbb052e62cc86942875
parent2b9c51d633c0592a33c976b0fb93cc48fc3d4f5b (diff)
usb: Temporarily mark e1uf_destroy as 'unused'
The code is not 100% finished yet and ATM flow destructions isn't handled ... Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
-rw-r--r--src/usb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/usb.c b/src/usb.c
index 4968e41..18e3053 100644
--- a/src/usb.c
+++ b/src/usb.c
@@ -354,7 +354,7 @@ e1uf_create(struct e1_line *line, xfer_cb_t cb,
return flow;
}
-static void
+static void __attribute__((unused))
e1uf_destroy(struct e1_usb_flow *flow)
{
if (!flow)