]> err.no Git - linux-2.6/commit
[NET]: Elminate spurious print_mac() calls.
authorDavid S. Miller <davem@davemloft.net>
Tue, 19 Feb 2008 00:50:22 +0000 (16:50 -0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 19 Feb 2008 00:50:22 +0000 (16:50 -0800)
commit8f789c48448aed74fe1c07af76de8f04adacec7d
tree6939205a4c21453ae41bae92ce8c10a728c4bae3
parent988d0093f9cb2bf27c299e373f9cbaac47dab2c1
[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>
include/linux/if_ether.h