Author: araujo
Date: Thu Dec 31 01:54:07 2015
New Revision: 292969
URL: https://svnweb.freebsd.org/changeset/base/292969

Log:
  Clean up unused-but-set-variable spotted by gcc-4.9.
  
  Reviewed by:  royger
  Approved by:  rodrigc (mentor)
  Differential Revision:        https://reviews.freebsd.org/D4733

Modified:
  head/sys/xen/xenbus/xenbusb.c

Modified: head/sys/xen/xenbus/xenbusb.c
==============================================================================
--- head/sys/xen/xenbus/xenbusb.c       Thu Dec 31 01:26:43 2015        
(r292968)
+++ head/sys/xen/xenbus/xenbusb.c       Thu Dec 31 01:54:07 2015        
(r292969)
@@ -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;
 
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "[email protected]"

Reply via email to