Skip to content
Commit 8f789c48 authored by David S. Miller's avatar David S. Miller
Browse files

[NET]: Elminate spurious print_mac() calls.



Patrick McHardy notes that print_mac() can get invoked
even if the result it unused (f.e. as an argument to
pr_debug() when DEBUG is not defined).

Mark this function as "__pure" to eliminate this problem.

Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 988d0093
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