aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPekka Enberg <penberg@kernel.org>2012-01-16 18:25:30 +0200
committerPekka Enberg <penberg@kernel.org>2012-01-16 18:25:30 +0200
commit0f674ef730b40f5753597cf81de355958ca2ae8b (patch)
tree80340e733f9c070cfedcd4834424301754ad5e41
parentd5286abec659b46b821f682a34ba6ea1e69e1798 (diff)
downloadjato-0f674ef730b40f5753597cf81de355958ca2ae8b.tar.gz
vm: Eliminate redundant assignment
The vm_method_do_init() function overwrites struct vm_method::args_count so there's absolutely no reason to assign it in vm_method_init_from_interface(). Signed-off-by: Pekka Enberg <penberg@kernel.org>
-rw-r--r--vm/method.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/vm/method.c b/vm/method.c
index e0a15cf6..ce75a866 100644
--- a/vm/method.c
+++ b/vm/method.c
@@ -225,7 +225,6 @@ int vm_method_init_from_interface(struct vm_method *vmm, struct vm_class *vmc,
vmm->name = interface_method->name;
vmm->type = interface_method->type;
- vmm->args_count = interface_method->args_count;
vmm->flags = 0;
if (parse_method_type(vmm)) {