kernel: fix warning about unused try_to_force_load
authorAnsuel Smith <ansuelsmth@gmail.com>
Sat, 28 Aug 2021 14:30:03 +0000 (16:30 +0200)
committerHauke Mehrtens <hauke@hauke-m.de>
Sun, 29 Aug 2021 14:31:24 +0000 (16:31 +0200)
commitb8f8d0651c9ec2a6f4a869fc262d2ba38d723b1f
tree7583c4146ea3f6ade07909ecc39f34b78f6a10a8
parentbe7e0091feb32f579818825a36e28bfe3acdf930
kernel: fix warning about unused try_to_force_load

There is a longlasting warn about unused defined try_to_force_load.
Fix this by including this function only when actually used.

Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
target/linux/generic/hack-5.10/204-module_strip.patch
target/linux/generic/hack-5.4/204-module_strip.patch