diff options
author | n_hibma <n_hibma@FreeBSD.org> | 1999-08-28 11:35:36 +0000 |
---|---|---|
committer | n_hibma <n_hibma@FreeBSD.org> | 1999-08-28 11:35:36 +0000 |
commit | b6f921b6b3d6ee4af6f058398bc105a3c7cf751f (patch) | |
tree | 15a86c57a24cfbaf1e1b874160c8e72a1d1d2df5 /sys/dev/usb/ugen.c | |
parent | 8422690eaa75b9c970d104077d6ce63f8b963e19 (diff) | |
download | FreeBSD-src-b6f921b6b3d6ee4af6f058398bc105a3c7cf751f.zip FreeBSD-src-b6f921b6b3d6ee4af6f058398bc105a3c7cf751f.tar.gz |
We use device_set_desc_copy, so we do not need to free the copied text
manually.
Diffstat (limited to 'sys/dev/usb/ugen.c')
-rw-r--r-- | sys/dev/usb/ugen.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/usb/ugen.c b/sys/dev/usb/ugen.c index f217f03..0772eb8 100644 --- a/sys/dev/usb/ugen.c +++ b/sys/dev/usb/ugen.c @@ -1013,7 +1013,7 @@ static int ugen_detach(device_t self) { DPRINTF(("%s: disconnected\n", USBDEVNAME(self))); - device_set_desc(self, NULL); + return 0; } |