[TCP] inet_twdr_hangman: Delete unnecessary memory barrier().

As per Ralf Baechle's observations, the schedule_work() call
should give enough of a memory barrier, so the explicit one
here is totally unnecessary.

Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
David S. Miller 2006-12-07 00:12:30 -08:00
parent e16aa207cc
commit 905eee008b
1 changed files with 0 additions and 1 deletions

View File

@ -178,7 +178,6 @@ void inet_twdr_hangman(unsigned long data)
need_timer = 0; need_timer = 0;
if (inet_twdr_do_twkill_work(twdr, twdr->slot)) { if (inet_twdr_do_twkill_work(twdr, twdr->slot)) {
twdr->thread_slots |= (1 << twdr->slot); twdr->thread_slots |= (1 << twdr->slot);
smp_mb();
schedule_work(&twdr->twkill_work); schedule_work(&twdr->twkill_work);
need_timer = 1; need_timer = 1;
} else { } else {