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: Denis Efremov <yefremov.denis@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Родитель
e9166139f6
Коммит
705a421238
|
@ -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);
|
||||||
|
|
Загрузка…
Ссылка в новой задаче