提交 769cf7a5 编写于 作者: J Juan Quintela 提交者: Anthony Liguori

eepro100: cast a void * makes no sense

Signed-off-by: NJuan Quintela <quintela@redhat.com>
Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
上级 d986bd50
......@@ -507,7 +507,7 @@ static void nic_selective_reset(EEPRO100State * s)
static void nic_reset(void *opaque)
{
EEPRO100State *s = (EEPRO100State *) opaque;
EEPRO100State *s = opaque;
logout("%p\n", s);
static int first;
if (!first) {
......@@ -1548,7 +1548,7 @@ static ssize_t nic_receive(VLANClientState *vc, const uint8_t * buf, size_t size
static int nic_load(QEMUFile * f, void *opaque, int version_id)
{
EEPRO100State *s = (EEPRO100State *) opaque;
EEPRO100State *s = opaque;
int i;
int ret;
......@@ -1638,7 +1638,7 @@ static int nic_load(QEMUFile * f, void *opaque, int version_id)
static void nic_save(QEMUFile * f, void *opaque)
{
EEPRO100State *s = (EEPRO100State *) opaque;
EEPRO100State *s = opaque;
int i;
if (s->pci_dev)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册