The variable "len" gets assigned once and it's value copied to
"n", which is then used for the rest of the function.
This patch fixes the unnecessary variable reassignment by using "len"
throughout the function instead.
Signed-off-by: Jakob Østergaard Jense
Fixes unnecessary variable reassignment to a new redundant variable.
Signed-off-by: Jakob Østergaard Jensen
---
drivers/tty/serial/jsm/jsm_tty.c | 10 --
1 file changed, 4 insertions(+), 6 deletions(-)
diff --git a/drivers/tty/serial/jsm/jsm_tty.c b/drivers/tty/serial/jsm/jsm_tty.c
Fixes unnecessary variable reassignment to a new redundant variable.
Signed-off-by: Jakob Østergaard Jensen
---
drivers/tty/serial/jsm/jsm_tty.c | 8 +++-
1 file changed, 3 insertions(+), 5 deletions(-)
diff --git a/drivers/tty/serial/jsm/jsm_tty.c b/drivers/tty/serial/jsm/jsm_tty.c
index
y from the meters using SNMP.
Works great.
See: http://www2.auckland.ac.nz/net/Accounting/ntm.Release.note.html
--
: [EMAIL PROTECTED] : And I see the elder races, :
:.........: putrid forms of man
and exact rules for minimum
or "optimal" (whatever that means) values for swap.
(if I sound pissed, don't worry, I'm not. I'm frustrated, that's different ;)
--
........
: [EMAIL PROTECTED] : And
: putrid forms of man:
: Jakob Østergaard : See him rise and claim the earth, :
:OZ9ABN : his downfall is at hand. :
:.:{Konkhra}...:
-
To unsubscribe from this list: send the line &q
eaks systems that are run with "too
little" swap, and the only difference from 2.2 till now is, that the definition
of "too little" changed.
--
........
: [EMAIL PROTECTED] : And I see the elder races, :
:.
MAIL PROTECTED] : And I see the elder races, :
:.....: putrid forms of man:
: Jakob Østergaard : See him rise and claim the earth, :
:OZ9ABN : his downfall is at hand. :
:.:{Konkhra}...:
-
: [EMAIL PROTECTED] : And I see the elder races, :
:.....: putrid forms of man:
: Jakob Østergaard : See him rise and claim the earth, :
:OZ9ABN : his downfall is at hand.
change. This is
not about Eric pushing something down people's throats. Tools evolve, and new
revisions introduce incompatibilities, but distributions still follow the
evolution. Nobody ships perl4 today either.
--
....
: [EMAIL PR
control device file.
Problem solved, AFAICS.
Controlling an IDE controller by writing to a device that's hanging on one
of it's busses is a hack, IMO.
--
: [EMAIL PROTECTED] : And I see the elder races,
On Sat, May 19, 2001 at 01:33:10PM -0300, Rik van Riel wrote:
> On Sat, 19 May 2001, [iso-8859-1] Jakob Østergaard wrote:
>
> > What do you think of this ?
> > [root]# cat /proc/sys/fs/inode-nr
> > 157097 -180
>
> I think you should upgrade to a newer kernel
on, let me know.
--
: [EMAIL PROTECTED] : And I see the elder races, :
:.: putrid forms of man :
: Jakob Østergaard : See him rise and claim the earth, :
:OZ9ABN : his down
little good news :)
--
: [EMAIL PROTECTED] : And I see the elder races, :
:.: putrid forms of man :
: Jakob Østergaard : See him rise and claim the earth, :
:OZ9ABN : his do
less someone screwed it up).
Run fsck on the RAID after mkraid.
--
: [EMAIL PROTECTED] : And I see the elder races, :
:.....: putrid forms of man:
: Jakob Østergaard : See him rise and claim th
..
: [EMAIL PROTECTED] : And I see the elder races, :
:.: putrid forms of man:
: Jakob Østergaard : See him rise and claim the earth, :
:OZ9ABN : his downfall is at hand. :
:
...: putrid forms of man :
: Jakob Østergaard : See him rise and claim the earth, :
:OZ9ABN : his downfall is at hand. :
:.:{Konkhra}...:
-
To unsubscribe from this list: send the line "unsubscribe linux-kerne
L PROTECTED] : And I see the elder races, :
:.: putrid forms of man:
: Jakob Østergaard : See him rise and claim the earth, :
:OZ9ABN : his downfall is at hand. :
:.:{Konkhra}...:
-
To un
e, hdparm report ~ 18/19 MB/s
Mine are Asus P2B-D boards
--
: [EMAIL PROTECTED] : And I see the elder races, :
:.....: putrid forms of man:
: Jakob Østergaard : See him ris
performance impact of resync.
--
........
: [EMAIL PROTECTED] : And I see the elder races, :
:.: putrid forms of man:
: Jakob Østergaard : See him rise and claim the earth, :
:OZ9ABN : his downfall is
ich has roughly 7 digits of
precision. Just like your program output clearly shows.
(I do however fail to see the relevance of this to linux-kernel)
--
: [EMAIL PROTECTED] : And I see the elder races, :
:..
...
: [EMAIL PROTECTED] : And I see the elder races, :
:.....: putrid forms of man:
: Jakob Østergaard : See him rise and claim the earth, :
:OZ9ABN : his downfall is at hand. :
:.:{Konk
On Sat, Mar 24, 2001 at 01:54:39PM -0600, Kevin Buhr wrote:
> Jakob Østergaard <[EMAIL PROTECTED]> writes:
> >
> > It's important that you use at least -O3 to get inlining too.
> [ . . . ]
> > 25 MB doesn't count ;)
>
> Aggh! I feel like I'
allocation in gcc-3 will buy us (was that 32 times?). And, after all, there
_has_ to be some other case out there which is not as easily fixed as the GCC
one.
> Linus
--
........
: [EMAIL PROTECTED] : And I see the elde
ots of memory, 100MB or more. I've never seen Mozilla really make GCC
eat that much memory - other projects do.
--
: [EMAIL PROTECTED] : And I see the elder races, :
:.: putrid forms of man
to see if it
> ever actually triggers. Something like g++ certainly counts as major.
Uber-cool ! :)
>
> Are you willing to test out patches?
Definitely.
--
: [EMAIL PROTECTED] : And I see the elder races,
we take this up with the glibc or gcc folks, or should
someone fix the kernel ?
This *is* a very significant performance problem for a standard tool.
--
: [EMAIL PROTECTED] : And I see the elder races, :
:..
e memory better, but it would be nice to know)
--
: [EMAIL PROTECTED] : And I see the elder races, :
:.....: putrid forms of man:
: Jakob Østergaard : See him rise and claim the earth, :
:
Doom.
Use plain RedHat kernels, or patch your own :)
You can boot on software RAID - it's in the HOWTO ;)
--
: [EMAIL PROTECTED] : And I see the elder races, :
:.: putrid forms of man:
: [EMAIL PROTECTED] : And I see the elder races, :
:.: putrid forms of man :
: Jakob Østergaard : See him rise and claim the earth, :
:OZ9ABN : his downfall is at hand. :
:...
ll the time.
The trasfer-rate from a 32MByte flash card is roughly 800 KB/sec, it
can't do DMA.
--
: [EMAIL PROTECTED] : And I see the elder races, :
:.: putrid forms of man:
: Jakob Øster
ne running
the compiler for hours or at least many minutes (a different compile).
I'll try this without the touch trick and see how things fare...
--
: [EMAIL PROTECTED] : And I see the elder races, :
: [EMAIL PROTECTED] : And I see the elder races, :
:.....: putrid forms of man:
: Jakob Østergaard : See him rise and claim the earth, :
:OZ9ABN : his downfall is at hand. :
:
se out of them.
--
: [EMAIL PROTECTED] : And I see the elder races, :
:.: putrid forms of man :
: Jakob Østergaard : See him rise and claim the earth, :
:OZ9ABN : his downf
:
:.....: putrid forms of man:
: Jakob Østergaard : See him rise and claim the earth, :
:OZ9ABN : his downfall is at hand. :
:.:{Konkhra}...:
-
To unsubscribe from this list: send the line "
OTECTED] : And I see the elder races, :
:.: putrid forms of man:
: Jakob Østergaard : See him rise and claim the earth, :
:OZ9ABN : his downfall is at hand. :
:.:{Konkhra}.
IL PROTECTED] : And I see the elder races, :
:.: putrid forms of man:
: Jakob Østergaard : See him rise and claim the earth, :
:OZ9ABN : his downfall is at hand. :
:.:{Konkhra}...
space
thread doing non-blocking send() calls ?
Thanks,
--
: [EMAIL PROTECTED] : And I see the elder races, :
:.....: putrid forms of man:
: Jakob Østergaard : See him rise and claim
...
: [EMAIL PROTECTED] : And I see the elder races, :
:.: putrid forms of man:
: Jakob Østergaard : See him rise and claim the earth, :
:OZ9ABN : his downfall is at hand. :
:.:
!-cannot!-can-so!, let's
take this to linux-raid or #offtopic ;)
Enough said.
--
: [EMAIL PROTECTED] : And I see the elder races, :
:.: putrid forms of man:
: Jakob Østergaard
On Tue, Nov 28, 2000 at 01:08:44PM -0800, Ben Ford wrote:
> Jakob Østergaard wrote:
>
>
>
> > comments, Riel or Andrea ?). I don't know of any good solution to this problem
> > other than just having enough swap space - after all, seriously, with today's
&
an't spare an extra few hundred megs (which would usually be more
than enough).
--
: [EMAIL PROTECTED] : And I see the elder races, :
:.....: putrid forms of man:
: Jakob Østergaard
without umount()'ing the
filesystem. A fsck on a 130G filesystem is going to take a *long* time.
--
: [EMAIL PROTECTED] : And I see the elder races, :
:.....: putrid forms of man
PROTECTED] : And I see the elder races, :
:.: putrid forms of man :
: Jakob Østergaard : See him rise and claim the earth, :
:OZ9ABN : his downfall is at hand. :
:.:{Konkhra}
aid group.
>
That's odd.
--
: [EMAIL PROTECTED] : And I see the elder races, :
:.: putrid forms of man:
: Jakob Østergaard : See him rise and claim the earth, :
:
better job than you at scheduling the
threads, and get on with your work :)
Cheers,
--
: [EMAIL PROTECTED] : And I see the elder races, :
:.....: putrid forms of man:
: Jakob Øste
: [EMAIL PROTECTED] : And I see the elder races, :
:.: putrid forms of man:
: Jakob Østergaard : See him rise and claim the earth, :
:OZ9ABN : his downfall is at hand. :
:...
PROTECTED] : And I see the elder races, :
:.: putrid forms of man :
: Jakob Østergaard : See him rise and claim the earth, :
:OZ9ABN : his downfall is at hand. :
:.:{Konkhra}.
48 matches
Mail list logo