summaryrefslogtreecommitdiffstats
path: root/modem-modeswitch
diff options
context:
space:
mode:
authorDan Williams <dcbw@redhat.com>2009-03-15 23:31:49 -0400
committerDan Williams <dcbw@redhat.com>2009-03-15 23:31:49 -0400
commit31ec1053920eeeb8e9f290ad8780259b1b59e651 (patch)
treee068b26997844604f694d7e3736726885688fd2b /modem-modeswitch
parent9de7ff0c237c0353be5b8a720ddd64564a6095d6 (diff)
modem-modeswitch: small cleanup
Diffstat (limited to 'modem-modeswitch')
-rw-r--r--modem-modeswitch/ma8280p_us.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/modem-modeswitch/ma8280p_us.c b/modem-modeswitch/ma8280p_us.c
index 181eb63..dd587e1 100644
--- a/modem-modeswitch/ma8280p_us.c
+++ b/modem-modeswitch/ma8280p_us.c
@@ -100,7 +100,7 @@ int ma8280p_switch (struct usb_dev_handle *devh, struct usb_device *dev)
buf = malloc (65535);
if (!buf) {
error ("%s: not enough memory", dev->filename, ret);
- goto out;
+ return -1;
}
ret = usb_get_descriptor(devh, 0x0000001, 0x0000000, buf, 0x0000012);