Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 8 Jan 2016 02:52:05 +0000 (UTC)
From:      Marcelo Araujo <araujo@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-10@freebsd.org
Subject:   svn commit: r293407 - stable/10/sys/xen/xenbus
Message-ID:  <201601080252.u082q521055289@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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;
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201601080252.u082q521055289>