From: Karel Zak Date: Tue, 18 Jun 2019 20:05:16 +0000 (+0200) Subject: Revert "lib/loopdev.c: Inline loopcxt_has_device" X-Git-Tag: v2.35-rc1~325 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=dab1303287b7ebe30b57ccc78591070dad0a85ea;p=thirdparty%2Futil-linux.git Revert "lib/loopdev.c: Inline loopcxt_has_device" ... no caller in that file, this change has no effect. This reverts commit 3bb960c7b5f1428f1bff885b2667787e8af5001b. --- diff --git a/lib/loopdev.c b/lib/loopdev.c index ede1b5cdce..99a0939260 100644 --- a/lib/loopdev.c +++ b/lib/loopdev.c @@ -127,7 +127,7 @@ int loopcxt_set_device(struct loopdev_cxt *lc, const char *device) return 0; } -inline int loopcxt_has_device(struct loopdev_cxt *lc) +int loopcxt_has_device(struct loopdev_cxt *lc) { return lc && *lc->device; }