diff options
author | Edwin Peer <edwin.peer@broadcom.com> | 2020-09-27 13:42:11 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-09-27 13:35:45 -0700 |
commit | c916062a8917463a469539eccee50d31e63c91c1 (patch) | |
tree | 5ba247aefcf6887922247a8acbb0119337aec7f6 /drivers/s390/crypto | |
parent | 9d6b648c3112012dac6d804d331cdd3a2247765c (diff) | |
download | linux-c916062a8917463a469539eccee50d31e63c91c1.tar.bz2 |
bnxt_en: refactor code to limit speed advertising
Extract the code for determining an advertised speed is no longer
supported into a separate function. This will avoid some code
duplication in a later patch when supporting PAM4 speeds, since
these speeds are specified in a separate field.
Reviewed-by: Scott Branden <scott.branden@broadcom.com>
Signed-off-by: Edwin Peer <edwin.peer@broadcom.com>
Signed-off-by: Michael Chan <michael.chan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/s390/crypto')
0 files changed, 0 insertions, 0 deletions