projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
libceph: add __maybe_unused to DEFINE_MSGR2_FEATURE
[linux-2.6-microblaze.git]
/
include
/
linux
/
ceph
/
msgr.h
diff --git
a/include/linux/ceph/msgr.h
b/include/linux/ceph/msgr.h
index
f5e02f6
..
3989dcb
100644
(file)
--- a/
include/linux/ceph/msgr.h
+++ b/
include/linux/ceph/msgr.h
@@
-33,8
+33,8
@@
#define CEPH_MSGR2_INCARNATION_1 (0ull)
#define DEFINE_MSGR2_FEATURE(bit, incarnation, name) \
#define CEPH_MSGR2_INCARNATION_1 (0ull)
#define DEFINE_MSGR2_FEATURE(bit, incarnation, name) \
- static const uint64_t CEPH_MSGR2_FEATURE_##name = (1ULL << bit); \
- static const uint64_t CEPH_MSGR2_FEATUREMASK_##name = \
+ static const uint64_t
__maybe_unused
CEPH_MSGR2_FEATURE_##name = (1ULL << bit); \
+ static const uint64_t
__maybe_unused
CEPH_MSGR2_FEATUREMASK_##name = \
(1ULL << bit | CEPH_MSGR2_INCARNATION_##incarnation);
#define HAVE_MSGR2_FEATURE(x, name) \
(1ULL << bit | CEPH_MSGR2_INCARNATION_##incarnation);
#define HAVE_MSGR2_FEATURE(x, name) \