Author: araujo Date: Fri Jan 8 02:54:21 2016 New Revision: 293408 URL: https://svnweb.freebsd.org/changeset/base/293408
Log: MFC: r292970 Clean up unused-but-set-variable spotted by gcc-4.9. Reviewed by: ngie Approved by: rodrigc (mentor) Sponsored by: gandi.net Differential Revision: https://reviews.freebsd.org/D4777 Modified: stable/10/usr.sbin/bhyve/pci_emul.c Modified: stable/10/usr.sbin/bhyve/pci_emul.c ============================================================================== --- stable/10/usr.sbin/bhyve/pci_emul.c Fri Jan 8 02:52:04 2016 (r293407) +++ stable/10/usr.sbin/bhyve/pci_emul.c Fri Jan 8 02:54:21 2016 (r293408) @@ -863,10 +863,9 @@ msixcap_cfgwrite(struct pci_devinst *pi, int bytes, uint32_t val) { uint16_t msgctrl, rwmask; - int off, table_bar; + int off; off = offset - capoff; - table_bar = pi->pi_msix.table_bar; /* Message Control Register */ if (off == 2 && bytes == 2) { rwmask = PCIM_MSIXCTRL_MSIX_ENABLE | PCIM_MSIXCTRL_FUNCTION_MASK; _______________________________________________ svn-src-stable-10@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-stable-10 To unsubscribe, send any mail to "svn-src-stable-10-unsubscr...@freebsd.org"