summaryrefslogtreecommitdiffstats
path: root/drivers/fpga/fpga-mgr.c
diff options
context:
space:
mode:
authorJian Shen <shenjian15@huawei.com>2021-08-30 21:51:06 +0800
committerDavid S. Miller <davem@davemloft.net>2021-08-31 12:36:42 +0100
commitdc9b5ce03124cf86bac3bd714369a8387d6e2012 (patch)
tree190c259e8e3685fe45908f3b0c2ed34a7d7783b1 /drivers/fpga/fpga-mgr.c
parent53c622db99df0789ade7082d028bf4f3b6064c95 (diff)
downloadlinux-stable-dc9b5ce03124cf86bac3bd714369a8387d6e2012.tar.gz
linux-stable-dc9b5ce03124cf86bac3bd714369a8387d6e2012.tar.bz2
linux-stable-dc9b5ce03124cf86bac3bd714369a8387d6e2012.zip
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 'drivers/fpga/fpga-mgr.c')
0 files changed, 0 insertions, 0 deletions