diff options
author | Yangbo Lu <[email protected]> | 2021-04-27 12:21:57 +0800 |
---|---|---|
committer | David S. Miller <[email protected]> | 2021-04-27 14:10:15 -0700 |
commit | cfd12c06cdceac094aab3f097cce24c279bfd43b (patch) | |
tree | 208aa03e7a98c8b605e95011e976d8a5a5607aa3 /scripts/gcc-plugins/cyc_complexity_plugin.c | |
parent | 23c9c2b314bab7f7f807a2f0cfe06cc4451b6eb7 (diff) |
net: dsa: check tx timestamp request in core driver
Check tx timestamp request in core driver at very beginning of
dsa_skb_tx_timestamp(), so that most skbs not requiring tx
timestamp just return. And drop such checking in device drivers.
Signed-off-by: Yangbo Lu <[email protected]>
Tested-by: Kurt Kanzenbach <[email protected]>
Reviewed-by: Florian Fainelli <[email protected]>
Acked-by: Richard Cochran <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions