]> git.proxmox.com Git - qemu.git/commit
translate-all.c: Use tb1->phys_hash_next directly in tb_remove
author陳韋任 (Wei-Ren Chen) <chenwj@iis.sinica.edu.tw>
Thu, 20 Dec 2012 01:39:16 +0000 (09:39 +0800)
committerBlue Swirl <blauwirbel@gmail.com>
Sat, 22 Dec 2012 12:06:24 +0000 (12:06 +0000)
commit0c884d1659f02b4a0c704c2344f42e3fabb1f193
treef11f8e2e07236b17a6aaf11db63233b4030f404e
parentb2136140f68ce05122f611eb9cde4f0365ab6a00
translate-all.c: Use tb1->phys_hash_next directly in tb_remove

  When tb_remove was first commited at fd6ce8f6, there were three different
calls pass different names to offsetof. In current codebase, the other two
calls are replaced with tb_page_remove. There is no need to have a general
tb_remove. Omit passing the third parameter and using tb1->phys_hash_next
directly.

Signed-off-by: Chen Wei-Ren <chenwj@iis.sinica.edu.tw>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
translate-all.c