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
This commit is contained in:
parent
b4794ad3d5
commit
0be55d57de
@ -561,7 +561,6 @@ xenbusb_devices_changed(struct xs_watch *watch, const char **vec,
|
||||
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 *watch, const char **vec,
|
||||
p = strchr(node, '/');
|
||||
if (p == NULL)
|
||||
goto out;
|
||||
bus = node;
|
||||
*p = 0;
|
||||
type = p + 1;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user