mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-09-24 18:16:04 +00:00
[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: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
988d0093f9
commit
8f789c4844
1 changed files with 1 additions and 1 deletions
Loading…
Add table
Add a link
Reference in a new issue