From: Mattias A. <mat...@us...> - 2001-06-13 13:16:05
|
The following file was modified in linux/drivers/char/bluetooth: Name Old version New version Comment ---- ----------- ----------- ------- bluetooth.c 1.180 1.181=20=20=20=20=20=20=20=20=20=20=20 The accompanying log: * removed unecessary variable * changed some debug The diff of the modified file(s): --- bluetooth.c 2001/06/13 12:10:44 1.180 +++ bluetooth.c 2001/06/13 12:45:14 1.181 @@ -595,7 +595,7 @@ /* check if we already have a connection otherwise wait... */ if ((SESSIONSTATE(line) =3D=3D BT_LOWERCONNECTED)|| (SESSIONSTATE(line) =3D=3D BT_ACTIVE)) { - printk("Already got connection on line %d\n", line);=20 + BT_DRIVER("Already got connection on line %d\n", line);=20 return 0; } BT_DRIVER("Waiting on line %d\n", line); @@ -1635,8 +1635,7 @@ /* Used to wait for dma to finish transmission */ void bt_wait_tx(s32 trim_delay) { - s32 cnt; - while ((cnt =3D sertty->driver.chars_in_buffer(sertty)) > 0) + while (sertty->driver.chars_in_buffer(sertty) > 0) udelay(100); udelay(trim_delay); } |