mirror of
https://github.com/mii443/qemu.git
synced 2025-08-22 15:15:46 +00: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:
committed by
Michael Tokarev
parent
f23c81073a
commit
4a4ff4c58f
@ -1065,10 +1065,7 @@ URI *uri_parse_raw(const char *str, int raw)
|
||||
*/
|
||||
URI *uri_new(void)
|
||||
{
|
||||
URI *ret;
|
||||
|
||||
ret = g_new0(URI, 1);
|
||||
return ret;
|
||||
return g_new0(URI, 1);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user