Skip to content

Commit 705a421

Browse files
evdenisgregkh
authored andcommitted
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>
1 parent e916613 commit 705a421

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎drivers/staging/nvec/nvec.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ static struct nvec_msg *nvec_msg_alloc(struct nvec_chip *nvec,
185185
*
186186
* Free the given message
187187
*/
188-
inline void nvec_msg_free(struct nvec_chip *nvec, struct nvec_msg *msg)
188+
void nvec_msg_free(struct nvec_chip *nvec, struct nvec_msg *msg)
189189
{
190190
if (msg != &nvec->tx_scratch)
191191
dev_vdbg(nvec->dev, "INFO: Free %ti\n", msg - nvec->msg_pool);

0 commit comments

Comments
 (0)