fdp: drop expensive modulo operation
authorAnkit Kumar <ankit.kumar@samsung.com>
Tue, 14 Mar 2023 09:26:26 +0000 (14:56 +0530)
committerAnkit Kumar <ankit.kumar@samsung.com>
Fri, 24 Mar 2023 15:34:22 +0000 (21:04 +0530)
commit3b3c987763a516cd0b0d9dc9d25d88ca43aeb058
tree975c879a676a8725676398cae937703caff49392
parent2fa0ab21c5726d8242a820ff688de019cc4d2fe2
fdp: drop expensive modulo operation

Remove the usage of expensive modulo operation as the same can be easily
achieved with addition and wrapping around avilable reclaim unit handles.

Signed-off-by: Ankit Kumar <ankit.kumar@samsung.com>
fdp.c