aboutsummaryrefslogtreecommitdiffstats
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorGuangbin Huang <[email protected]>2021-08-28 06:55:17 +0000
committerDavid S. Miller <[email protected]>2021-08-28 10:20:05 +0000
commit81414ba71356b174d62370195a2bb99592e1b2a2 (patch)
tree3bc75783b55a11045b3f431310b181715a9b6c0b /net/unix/af_unix.c
parentnet: hns3: refactor function hclge_parse_capability() (diff)
downloadkernel-81414ba71356b174d62370195a2bb99592e1b2a2.tar.gz
kernel-81414ba71356b174d62370195a2bb99592e1b2a2.zip
net: hns3: refactor function hclgevf_parse_capability()
The function hclgevf_parse_capability() will add more if statement in the future, to improve code readability, maintainability and simplicity, refactor this function by using a bit mapping array of IMP capabilities and driver capabilities. Signed-off-by: Guangbin Huang <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions