From 993831bdb15657b1fc6b9985cdaca9e3ccc1cfbc Mon Sep 17 00:00:00 2001 From: Zdenek Kabelac Date: Fri, 9 Nov 2012 13:18:43 +0100 Subject: [PATCH] cleanup: size is already 64bit value Cast is not needed. --- lib/metadata/metadata.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/metadata/metadata.c b/lib/metadata/metadata.c index 61816e27a..5f2addd19 100644 --- a/lib/metadata/metadata.c +++ b/lib/metadata/metadata.c @@ -987,7 +987,7 @@ uint64_t extents_from_size(struct cmd_context *cmd, uint64_t size, return 0; } - return (uint64_t) size / extent_size; + return size / extent_size; } /*