diff options
| author | Jian Shen <shenjian15@huawei.com> | 2021-08-30 16:51:06 +0300 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2021-08-31 14:36:42 +0300 |
| commit | dc9b5ce03124cf86bac3bd714369a8387d6e2012 (patch) | |
| tree | 190c259e8e3685fe45908f3b0c2ed34a7d7783b1 /fs/btrfs/dev-replace.c | |
| parent | 53c622db99df0789ade7082d028bf4f3b6064c95 (diff) | |
| download | linux-dc9b5ce03124cf86bac3bd714369a8387d6e2012.tar.xz | |
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 <shenjian15@huawei.com>
Signed-off-by: Guangbin Huang <huangguangbin2@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'fs/btrfs/dev-replace.c')
0 files changed, 0 insertions, 0 deletions
