svn commit: r293407 - stable/10/sys/xen/xenbus

Marcelo Araujo araujo at FreeBSD.org
Fri Jan 8 02:52:06 UTC 2016


Author: araujo
Date: Fri Jan  8 02:52:04 2016
New Revision: 293407
URL: https://svnweb.freebsd.org/changeset/base/293407

Log:
  MFC: r292969
  
  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/D4778

Modified:
  stable/10/sys/xen/xenbus/xenbusb.c

Modified: stable/10/sys/xen/xenbus/xenbusb.c
==============================================================================
--- stable/10/sys/xen/xenbus/xenbusb.c	Fri Jan  8 01:18:10 2016	(r293406)
+++ stable/10/sys/xen/xenbus/xenbusb.c	Fri Jan  8 02:52:04 2016	(r293407)
@@ -561,7 +561,6 @@ xenbusb_devices_changed(struct xs_watch 
 	struct xenbusb_softc *xbs;
 	device_t dev;
 	char *node;
-	char *bus;
 	char *type;
 	char *id;
 	char *p;
@@ -580,7 +579,6 @@ xenbusb_devices_changed(struct xs_watch 
 	p = strchr(node, '/');
 	if (p == NULL)
 		goto out;
-	bus = node;
 	*p = 0;
 	type = p + 1;
 


More information about the svn-src-all mailing list