Remove unneded ac97 indirection accessing its state
authorJuan Quintela <quintela@redhat.com>
Fri, 21 Aug 2009 11:56:09 +0000 (13:56 +0200)
committermalc <av1474@comtv.ru>
Sat, 22 Aug 2009 09:51:39 +0000 (13:51 +0400)
commitfc036ff52f935cbd86e43c22b78af5929dab666c
treeabe3a1e296790369a1710318e99d9cd42fa55fea
parent3034dd751ad720d5055097e5a2c7d6bc5a8d1bb8
Remove unneded ac97 indirection accessing its state

Searching for "inspiration" to convert another device to qdev, I got
ac97.  Once I understood a bit of qdev, found that ac97 used a not needed
indirection.  To protect the unaware, just fixed it.

Later, Juan.

Signed-off-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: malc <av1474@comtv.ru>
hw/ac97.c