[PATCH OLK-5.10 31/39] mm: share_pool: Fix CodeCheck2.0 static warning