Yes, but the overhead is minimal compared to the rest of the receive path. Also, inlining would make the interface uglier due to the need of another global variable.