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

  • From: Stephan Assmus <superstippi@xxxxxx>
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Thu, 04 Mar 2010 13:11:09 +0100

On 2010-03-04 at 11:05:05 [+0100], Axel Dörfler <axeld@xxxxxxxxxxxxxxxx> 
wrote:
> 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 = ".

Ups. Yes indeed. Sorry about that.

Best regards,
-Stephan

Other related posts: