mirror of
https://github.com/opnsense/src.git
synced 2026-06-11 01:30:30 -04:00
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
e80e04aeb7
commit
f7e124adf5
1 changed files with 0 additions and 2 deletions
|
|
@ -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 a new issue