util: Remove redundant type cast in function align64

Fixes: 0a06cf7523 ("util: migrate alignment functions and macros to use ALIGN_POT")

Reviewed-by: Rohan Garg <rohan.garg@intel.com>
Signed-off-by: Yonggang Luo <luoyonggang@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23421>
This commit is contained in:
Yonggang Luo 2023-06-06 01:00:03 +08:00 committed by Marge Bot
parent 93f047b6ff
commit 9ce8ff9bb1

View file

@ -702,7 +702,7 @@ static inline uint64_t
align64(uint64_t value, uint64_t alignment)
{
assert(IS_POT(alignment));
return ALIGN_POT(value, (uint64_t)alignment);
return ALIGN_POT(value, alignment);
}
/**