diff options
| author | Zhang Shengju <[email protected]> | 2017-04-26 17:49:38 +0800 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2017-04-27 16:31:05 -0400 |
| commit | 0575c86b5dd596253bdfc0365b570d67b1a12523 (patch) | |
| tree | d8b5e683dfca962f0e495b919c283132165b6a1a /tools/perf/scripts/python/bin/stackcollapse-record | |
| parent | 8ecbc40ada116f2f7d6b61cd646802c87b7c5c7d (diff) | |
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 <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions