Date: Sun, 25 Nov 2007 10:56:21 GMT From: Hans Petter Selasky <hselasky@FreeBSD.org> To: Perforce Change Reviews <perforce@FreeBSD.org> Subject: PERFORCE change 129493 for review Message-ID: <200711251056.lAPAuLZF079321@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=129493 Change 129493 by hselasky@hselasky_laptop001 on 2007/11/25 10:56:08 Refactor code a little bit. Affected files ... .. //depot/projects/usb/src/sys/dev/usb/usb_transfer.c#49 edit Differences ... ==== //depot/projects/usb/src/sys/dev/usb/usb_transfer.c#49 (text+ko) ==== @@ -1625,7 +1625,9 @@ } mtx_assert(xfer->priv_mtx, MA_OWNED); - if (xfer->flags_int.open) { + if (!xfer->flags_int.open) { + return; + } /* * close transfer */ @@ -1673,7 +1675,6 @@ */ usbd_callback_wrapper(xfer); } - } return; }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200711251056.lAPAuLZF079321>