aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorZhang Shengju <zhangshengju@cmss.chinamobile.com>2017-04-26 17:49:38 +0800
committerDavid S. Miller <davem@davemloft.net>2017-04-27 16:31:05 -0400
commit0575c86b5dd596253bdfc0365b570d67b1a12523 (patch)
treed8b5e683dfca962f0e495b919c283132165b6a1a /tools/perf/scripts/python/export-to-postgresql.py
parentnet: update comment for netif_dormant() function (diff)
downloadwireguard-linux-0575c86b5dd596253bdfc0365b570d67b1a12523.tar.xz
wireguard-linux-0575c86b5dd596253bdfc0365b570d67b1a12523.zip
net: 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: Zhang Shengju <zhangshengju@cmss.chinamobile.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions