diff options
author | Jian Shen <[email protected]> | 2021-08-30 21:51:06 +0800 |
---|---|---|
committer | David S. Miller <[email protected]> | 2021-08-31 12:36:42 +0100 |
commit | dc9b5ce03124cf86bac3bd714369a8387d6e2012 (patch) | |
tree | 190c259e8e3685fe45908f3b0c2ed34a7d7783b1 /net/lapb/lapb_timer.c | |
parent | 53c622db99df0789ade7082d028bf4f3b6064c95 (diff) |
net: hns3: refine function hns3_set_default_feature()
Currently, the driver sets default feature for netdev->features,
netdev->hw_features, netdev->vlan_features and
netdev->hw_enc_features separately. It's fussy, because most
of the feature bits are same. So refine it by copy value from
netdev->features.
Signed-off-by: Jian Shen <[email protected]>
Signed-off-by: Guangbin Huang <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions