aboutsummaryrefslogtreecommitdiff
path: root/drivers/fpga/fpga-bridge.c
diff options
context:
space:
mode:
authorDanielle Ratson <danieller@nvidia.com>2021-12-20 12:56:12 +0200
committerDavid S. Miller <davem@davemloft.net>2021-12-20 11:32:20 +0000
commit4bcbf50291f3b61ad231d31267842fcc73d7e6fd (patch)
treeff7b4740542b95382365901fac901d737f7e1fed /drivers/fpga/fpga-bridge.c
parentcbbd5fff86e8fd22152982d077ed06b1210f2779 (diff)
downloadlinux-4bcbf50291f3b61ad231d31267842fcc73d7e6fd.tar.gz
linux-4bcbf50291f3b61ad231d31267842fcc73d7e6fd.tar.bz2
linux-4bcbf50291f3b61ad231d31267842fcc73d7e6fd.zip
mlxsw: core: Convert a series of if statements to switch case
Convert a series of if statements that handle different events to a switch case statement. Encapsulate the per-event code in different functions to simplify the code. This is a preparation for subsequent patches that will add more events that need to be handled. Signed-off-by: Danielle Ratson <danieller@nvidia.com> Signed-off-by: Ido Schimmel <idosch@nvidia.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/fpga/fpga-bridge.c')
0 files changed, 0 insertions, 0 deletions