mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 15:23:53 -06:00
Remove unnecessary variables for function return value
Re-run Coccinelle script scripts/coccinelle/return_directly.cocci Signed-off-by: Laurent Vivier <lvivier@redhat.com> ppc part Acked-by: David Gibson <david@gibson.dropbear.id.au> Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
This commit is contained in:
parent
f23c81073a
commit
4a4ff4c58f
20 changed files with 79 additions and 248 deletions
|
@ -25,11 +25,7 @@
|
|||
|
||||
QIONetListener *qio_net_listener_new(void)
|
||||
{
|
||||
QIONetListener *ret;
|
||||
|
||||
ret = QIO_NET_LISTENER(object_new(TYPE_QIO_NET_LISTENER));
|
||||
|
||||
return ret;
|
||||
return QIO_NET_LISTENER(object_new(TYPE_QIO_NET_LISTENER));
|
||||
}
|
||||
|
||||
void qio_net_listener_set_name(QIONetListener *listener,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue