git.droids-corp.org
/
dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
replace unused attributes
[dpdk.git]
/
drivers
/
net
/
thunderx
/
base
/
nicvf_mbox.c
diff --git
a/drivers/net/thunderx/base/nicvf_mbox.c
b/drivers/net/thunderx/base/nicvf_mbox.c
index
5b3ab93
..
d7209c0
100644
(file)
--- a/
drivers/net/thunderx/base/nicvf_mbox.c
+++ b/
drivers/net/thunderx/base/nicvf_mbox.c
@@
-36,7
+36,7
@@
static const char *mbox_message[NIC_MBOX_MSG_MAX] = {
[NIC_MBOX_MSG_SHUTDOWN] = "NIC_MBOX_MSG_SHUTDOWN",
};
-static inline const char * __
attribute__((unused))
+static inline const char * __
rte_unused
nicvf_mbox_msg_str(int msg)
{
assert(msg >= 0 && msg < NIC_MBOX_MSG_MAX);