Date: Thu, 5 Dec 2013 07:18:06 +0000 (UTC) From: Hans Petter Selasky <hselasky@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r258961 - head/sys/dev/usb Message-ID: <201312050718.rB57I61H001810@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: hselasky Date: Thu Dec 5 07:18:06 2013 New Revision: 258961 URL: http://svnweb.freebsd.org/changeset/base/258961 Log: Fix external compiler warning about write-only assigned variable. Modified: head/sys/dev/usb/usb_busdma.c Modified: head/sys/dev/usb/usb_busdma.c ============================================================================== --- head/sys/dev/usb/usb_busdma.c Thu Dec 5 07:16:24 2013 (r258960) +++ head/sys/dev/usb/usb_busdma.c Thu Dec 5 07:18:06 2013 (r258961) @@ -215,9 +215,7 @@ usbd_m_copy_in(struct usb_page_cache *ca struct mbuf *m, usb_size_t src_offset, usb_frlength_t src_len) { struct usb_m_copy_in_arg arg = {cache, dst_offset}; - int error; - - error = m_apply(m, src_offset, src_len, &usbd_m_copy_in_cb, &arg); + (void) m_apply(m, src_offset, src_len, &usbd_m_copy_in_cb, &arg); } #endif
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201312050718.rB57I61H001810>