[PATCH] tulip: add return to ULI526X clause in tulip_mdio_write
commit9092f46b5aed4515d9a427d5dab3be1584851f07
authorJohn W. Linville <linville@tuxdriver.com>
Wed, 18 May 2005 17:41:33 +0000 (18 13:41 -0400)
committerJeff Garzik <jgarzik@pobox.com>
Tue, 24 May 2005 04:26:12 +0000 (24 00:26 -0400)
tree3723469c5f2af23e29e7c25036d1cdca893f90b9
parent187a1a94d629621d1471b42308e63573b1150773
[PATCH] tulip: add return to ULI526X clause in tulip_mdio_write

The 'if' clause for ULI526X in tulip_mdio_write allows for
spin_unlock_irqrestore to be called twice for tp->mii_lock.  I believe
this is caused by the unintentional omission of a return at the end
of that clause.  This patch adds that return.

Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/tulip/media.c