hw/pvrdma: Make function reset_device return void
This function cannot fail - fix it to return void Signed-off-by: Yuval Shaia <yuval.shaia@oracle.com> Reviewed-by: Marcel Apfelbaum <marcel.apfelbaum@gmail.com> Signed-off-by: Marcel Apfelbaum <marcel.apfelbaum@gmail.com>
This commit is contained in:
parent
605ec1663b
commit
f00c48caab
|
@ -369,13 +369,11 @@ static int unquiesce_device(PVRDMADev *dev)
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
static int reset_device(PVRDMADev *dev)
|
static void reset_device(PVRDMADev *dev)
|
||||||
{
|
{
|
||||||
pvrdma_stop(dev);
|
pvrdma_stop(dev);
|
||||||
|
|
||||||
pr_dbg("Device reset complete\n");
|
pr_dbg("Device reset complete\n");
|
||||||
|
|
||||||
return 0;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static uint64_t regs_read(void *opaque, hwaddr addr, unsigned size)
|
static uint64_t regs_read(void *opaque, hwaddr addr, unsigned size)
|
||||||
|
|
Loading…
Reference in a new issue