fs: btrfs: Do not free multi when guaranteed to be NULL
authorAndrew Goodbody <andrew.goodbody@linaro.org>
Tue, 8 Jul 2025 11:34:49 +0000 (12:34 +0100)
committerTom Rini <trini@konsulko.com>
Tue, 15 Jul 2025 15:55:37 +0000 (09:55 -0600)
commit9204cae0937c0e26fcff1ee08e51ef37f59844fe
tree243480a023e27f1b740be9d126590c5417744d52
parent70db2be9fbae747a869ec5d7af1055685a9c01f3
fs: btrfs: Do not free multi when guaranteed to be NULL

multi is guaranteed to be NULL in the first two error exit paths so the
attempt to free it is not needed. Remove those calls.

This issue found by Smatch.

Signed-off-by: Andrew Goodbody <andrew.goodbody@linaro.org>
fs/btrfs/volumes.c