[haiku-commits] Re: r35756 - haiku/trunk/src/add-ons/kernel/drivers/power/enhanced_speedstep

  • From: "Axel Dörfler" <axeld@xxxxxxxxxxxxxxxx>
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Thu, 04 Mar 2010 11:05:05 +0100

superstippi@xxxxxx wrote:
> -     int32 bus = freq / (id >> 8);
> +     int32 bus = 0;
> +     if (id >> 8)
> +             freq / (id >> 8);

That looks pretty much like a no-op, I guess you're missing a "bus = ".

Bye,
   Axel.


Other related posts: