diff options
author | Hayes Wang <[email protected]> | 2023-01-19 15:40:43 +0800 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2023-01-20 18:06:09 -0800 |
commit | 02767440e1dda9861a11ca1dbe0f19a760b1d5c2 (patch) | |
tree | 48ce8f0a7b613b4b903abffb483cfba85e00e39f /tools/testing/selftests/bpf/prog_tests/autoload.c | |
parent | 95a4c1d617b92cdc4522297741b56e8f6cd01a1e (diff) |
r8152: reduce the control transfer of rtl8152_get_version()
Reduce the control transfer by moving calling rtl8152_get_version() in
rtl8152_probe(). This could prevent from calling rtl8152_get_version()
for unnecessary situations. For example, after setting config #2 for the
device, there are two interfaces and rtl8152_probe() may be called
twice. However, we don't need to call rtl8152_get_version() for this
situation.
Signed-off-by: Hayes Wang <[email protected]>
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/autoload.c')
0 files changed, 0 insertions, 0 deletions