]> git.proxmox.com Git - mirror_qemu.git/commit
cputlb: Tidy memset() of arrays
authorRichard Henderson <rth@twiddle.net>
Fri, 6 Dec 2013 21:44:52 +0000 (10:44 +1300)
committerAndreas Färber <afaerber@suse.de>
Mon, 23 Dec 2013 14:32:36 +0000 (15:32 +0100)
commiteb2535f411c2201cd6f79e8d2b4e3f4c5b765729
treebd0a03525133babf50cf38cd2d8107505569feec
parent4fadb3bb570c5a665bd6f7e300d63c306e67b668
cputlb: Tidy memset() of arrays

Don't duplicate the array length computation in the memset()
when plain sizeof() can produce the correct results.

Signed-off-by: Richard Henderson <rth@twiddle.net>
Reviewed-by: Aurelien Jarno <aurelien@aurel32.net>
Signed-off-by: Andreas Färber <afaerber@suse.de>
cputlb.c
translate-all.c