Hi David, On Mon, Aug 09, 2010, David Scherba wrote: > --- > plugins/hciops.c | 6 ------ > 1 files changed, 0 insertions(+), 6 deletions(-) > > diff --git a/plugins/hciops.c b/plugins/hciops.c > index 5775cf1..b38c056 100644 > --- a/plugins/hciops.c > +++ b/plugins/hciops.c > @@ -175,12 +175,6 @@ static void init_device(int index) > goto fail; > } > > - if (hci_devinfo(index, &di) < 0) > - goto fail; > - > - if (hci_test_bit(HCI_RAW, &di.flags)) > - goto done; > - > done: > hci_close_dev(dd); > exit(0); Nice catch, but that's not quite enough: plugins/hciops.c: In function ‘init_device’: plugins/hciops.c:178: error: label ‘done’ defined but not used plugins/hciops.c:125: error: unused variable ‘di’ Always check that your patch compiles cleanly with ./bootstrap-configure before submitting upstream. Johan -- To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html