fs: exfat: Remove unused label code
authorAndrew Goodbody <andrew.goodbody@linaro.org>
Thu, 17 Jul 2025 15:29:21 +0000 (16:29 +0100)
committerTom Rini <trini@konsulko.com>
Thu, 24 Jul 2025 19:30:20 +0000 (13:30 -0600)
commit8f3820dc3a262b0d11c261bf3c526159d8c771e3
tree931fd377050b725f6d9ec4792b22e47e36d7a45f
parent5c0827eededc8392472823d8e3e50cd0f5fad47b
fs: exfat: Remove unused label code

Smatch reported a possible buffer overflow in exfat_set_label but it
turns out that this code is unused so just guard the function with
'#ifndef __UBOOT__' as well as exfat_get_label that is also unused and
the helper static find_label.

Signed-off-by: Andrew Goodbody <andrew.goodbody@linaro.org>
fs/exfat/exfat.h
fs/exfat/node.c