commit | 9df3f3d28bca0157e2bab2f3171d2ad4f0930634 | [log] [tgz] |
---|---|---|
author | Panagiotis Issaris <takis@issaris.org> | Fri Jul 21 15:52:20 2006 -0700 |
committer | David S. Miller <davem@davemloft.net> | Fri Jul 21 15:52:20 2006 -0700 |
tree | b7cc30698bd9e30846bdce547115ad409ef3d97f | |
parent | 8265abc082d2283b4ef20237efadb71c6f16ed0c [diff] [blame] |
[TIPC]: Removing useless casts Removing useless casts Signed-off-by: Panagiotis Issaris <takis@issaris.org> Signed-off-by: David S. Miller <davem@davemloft.net>
diff --git a/net/tipc/ref.c b/net/tipc/ref.c index 596d3c8..e6d6ae22 100644 --- a/net/tipc/ref.c +++ b/net/tipc/ref.c
@@ -79,7 +79,7 @@ while (sz < requested_size) { sz <<= 1; } - table = (struct reference *)vmalloc(sz * sizeof(struct reference)); + table = vmalloc(sz * sizeof(*table)); if (table == NULL) return -ENOMEM;