fs/fat: remove unnecessary wrapper fat_max_cache()
authorLalit Shankar Chowdhury <lalitshankarch@gmail.com>
Thu, 27 Nov 2025 17:54:31 +0000 (17:54 +0000)
committerAndrew Morton <akpm@linux-foundation.org>
Thu, 11 Dec 2025 00:07:42 +0000 (16:07 -0800)
commitacce46aaf8c65612b2933e739b3a929986b5642b
treea4169cd994ce448e7ec4252ca423d492bf7be0d1
parentd86fea4294cb7878e3866eb567ee803d180a159b
fs/fat: remove unnecessary wrapper fat_max_cache()

fat_max_cache() always returned FAT_MAX_CACHE and did not use the inode
parameter. So, use the FAT_MAX_CACHE constant directly.

Link: https://lkml.kernel.org/r/20251127175431.126516-1-lalitshankarch@gmail.com
Signed-off-by: Lalit Shankar Chowdhury <lalitshankarch@gmail.com>
Acked-by: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
Cc: Christian Brauner <brauner@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
fs/fat/cache.c