提交 b880deea 编写于 作者: D David Ahern 提交者: Arnaldo Carvalho de Melo

perf kvm: Remove typecast in init_kvm_event_record

Not needed after changing i to unsigned int.
Signed-off-by: NDavid Ahern <dsahern@gmail.com>
Cc: Dong Hao <haodong@linux.vnet.ibm.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Ingo Molnar <mingo@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Xiao Guangrong <xiaoguangrong@linux.vnet.ibm.com>
Link: http://lkml.kernel.org/r/1349716656-48165-7-git-send-email-dsahern@gmail.comSigned-off-by: NArnaldo Carvalho de Melo <acme@redhat.com>
上级 2aa8eab0
......@@ -313,9 +313,9 @@ struct vcpu_event_record {
static void init_kvm_event_record(struct perf_kvm *kvm)
{
int i;
unsigned int i;
for (i = 0; i < (int)EVENTS_CACHE_SIZE; i++)
for (i = 0; i < EVENTS_CACHE_SIZE; i++)
INIT_LIST_HEAD(&kvm->kvm_events_cache[i]);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册