Commit 705a4212 authored by Denis Efremov's avatar Denis Efremov Committed by Greg Kroah-Hartman

staging: nvec: remove inline marking of EXPORT_SYMBOL functions

EXPORT_SYMBOL and inline directives are contradictory to each other.
The patch fixes this inconsistency.

Found by Linux Driver Verification project (linuxtesting.org).
Signed-off-by: default avatarDenis Efremov <yefremov.denis@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent e9166139
...@@ -185,7 +185,7 @@ static struct nvec_msg *nvec_msg_alloc(struct nvec_chip *nvec, ...@@ -185,7 +185,7 @@ static struct nvec_msg *nvec_msg_alloc(struct nvec_chip *nvec,
* *
* Free the given message * Free the given message
*/ */
inline void nvec_msg_free(struct nvec_chip *nvec, struct nvec_msg *msg) void nvec_msg_free(struct nvec_chip *nvec, struct nvec_msg *msg)
{ {
if (msg != &nvec->tx_scratch) if (msg != &nvec->tx_scratch)
dev_vdbg(nvec->dev, "INFO: Free %ti\n", msg - nvec->msg_pool); dev_vdbg(nvec->dev, "INFO: Free %ti\n", msg - nvec->msg_pool);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment