[PATCH] iseries_veth: Replace lock-protected atomic with an ordinary variable
authorMichael Ellerman <michael@ellerman.id.au>
Thu, 1 Sep 2005 01:29:06 +0000 (11:29 +1000)
committerJeff Garzik <jgarzik@pobox.com>
Thu, 1 Sep 2005 02:39:43 +0000 (22:39 -0400)
commitb08bd5c0a3110f143faeef9cd057d9d8ff2f0714
treeee9e8d2e5457a2bb06d301b528203fca2c4db18e
parentd7893ddd1b2110a54a5b1773a405748172ba1fe5
[PATCH] iseries_veth: Replace lock-protected atomic with an ordinary variable

The iseries_veth driver uses atomic ops to manipulate the in_use field of
one of its per-connection structures. However all references to the
flag occur while the connection's lock is held, so the atomic ops aren't
necessary.

Signed-off-by: Michael Ellerman <michael@ellerman.id.au>
Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
drivers/net/iseries_veth.c