Re: [pulseaudio-discuss] [PATCH v3 4/5] bluetooth: Run the discovery hook only when necessary

2012-11-22 Thread Tanu Kaskinen
On Thu, 2012-11-22 at 15:20 +0100, Mikel Astiz wrote: > From: Tanu Kaskinen > > This is a minor optimization too, but the main benefit is that it's > makes the code easier to understand (I hope), since run_callback() > won't be called at times when it's not needed. This patch doesn't seem to con

[pulseaudio-discuss] [PATCH v3 4/5] bluetooth: Run the discovery hook only when necessary

2012-11-22 Thread Mikel Astiz
From: Tanu Kaskinen This is a minor optimization too, but the main benefit is that it's makes the code easier to understand (I hope), since run_callback() won't be called at times when it's not needed. --- src/modules/bluetooth/bluetooth-util.c | 10 -- 1 file changed, 8 insertions(+), 2