diff options
author | 2017-05-03 00:43:42 -0400 | |
---|---|---|
committer | 2017-05-04 10:57:41 -0400 | |
commit | 5d826b7b98a66c890920d690d101bf54d220ea92 (patch) | |
tree | 729fc328f649ad84637b9f3def9195b81c68c175 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | Merge branch 'ibmvnic-Updated-reset-handler-andcode-fixes' (diff) | |
download | linux-dev-5d826b7b98a66c890920d690d101bf54d220ea92.tar.xz linux-dev-5d826b7b98a66c890920d690d101bf54d220ea92.zip |
forcedeth: remove unnecessary carrier status check
Since netif_carrier_on() will do nothing if device's
carrier is already on, so it's unnecessary to do
carrier status check.
It's the same for netif_carrier_off().
Signed-off-by: Zhu Yanjun <yanjun.zhu@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions