diff options
author | Michael Chan <michael.chan@broadcom.com> | 2020-10-12 05:10:49 -0400 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2020-10-12 14:27:03 -0700 |
commit | 03ab8ca1e920f6adb35fc7ea80e18006d652d465 (patch) | |
tree | 748964e43404d1a8dacd83e03f85106b0185ca82 /drivers/net/ethernet/amd | |
parent | 8fb35cd302f74e63db4ce43a44e5e5fae44d80e3 (diff) | |
download | linux-03ab8ca1e920f6adb35fc7ea80e18006d652d465.tar.bz2 |
bnxt_en: Simplify bnxt_async_event_process().
event_data1 and event_data2 are used when processing most events.
Store these in local variables at the beginning of the function to
simplify many of the case statements.
Reviewed-by: Edwin Peer <edwin.peer@broadcom.com>
Signed-off-by: Michael Chan <michael.chan@broadcom.com>
Link: https://lore.kernel.org/r/1602493854-29283-5-git-send-email-michael.chan@broadcom.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/net/ethernet/amd')
0 files changed, 0 insertions, 0 deletions