Re: rasops.c: avoid calculating offset several times

2016-09-26 Thread Martin Natano
On Mon, Sep 26, 2016 at 11:35:34AM +0200, Frederic Cambus wrote: > Hi tech@, > > Here is a diff to avoid calculating offset several times in rasops.c. > This was done for a few functions already, but not all of them. > > Comments? OK? OK, that's more readable. > > Index:

rasops.c: avoid calculating offset several times

2016-09-26 Thread Frederic Cambus
Hi tech@, Here is a diff to avoid calculating offset several times in rasops.c. This was done for a few functions already, but not all of them. Comments? OK? Index: sys/dev/rasops/rasops.c === RCS file: