libceph: add __maybe_unused to DEFINE_MSGR2_FEATURE
authorIlya Dryomov <idryomov@gmail.com>
Wed, 16 Dec 2020 17:40:05 +0000 (18:40 +0100)
committerIlya Dryomov <idryomov@gmail.com>
Mon, 28 Dec 2020 19:34:33 +0000 (20:34 +0100)
commit664f1e259a982bf213f0cd8eea7616c89546585c
tree37c6e97b66cd256e6edadeac65246942a3be475b
parentf5f2c9a0e3073debc6bc0ecc855ced0158526ee8
libceph: add __maybe_unused to DEFINE_MSGR2_FEATURE

Avoid -Wunused-const-variable warnings for "make W=1".

Reported-by: Jeff Layton <jlayton@kernel.org>
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
include/linux/ceph/msgr.h