net/phy/fixed.c: fix a use-after-free
authorAdrian Bunk <bunk@kernel.org>
Sat, 2 Feb 2008 21:15:02 +0000 (23:15 +0200)
committerJeff Garzik <jeff@garzik.org>
Mon, 11 Feb 2008 16:15:36 +0000 (11:15 -0500)
commit651be3a2ba95bc30fcb737985741736e63231cdf
treea2804052769372d456384660a94dfcbb5418cf32
parentd785ad74641c59074786084b24a9283d7a7727b0
net/phy/fixed.c: fix a use-after-free

This patch fixes a use-after-free introduced by
commit a79d8e93d300adb84cccc38ac396cfb118c238ad and spotted by the
Coverity checker.

Signed-off-by: Adrian Bunk <bunk@kernel.org>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/net/phy/fixed.c