summaryrefslogtreecommitdiff
path: root/drivers/fpga/fpga-region.c
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2025-04-10 12:24:25 +0200
committerJohannes Berg <johannes.berg@intel.com>2025-04-23 15:34:22 +0200
commitbf55d51f080eb4a8b722b602508930cc0d50c655 (patch)
tree26bf655bcfff6c0a7f91288a04b0ad5abee2bca3 /drivers/fpga/fpga-region.c
parent39df75eb38faf25dbbc58a2b9231de730c64745e (diff)
wifi: mwifiex: deduplicate code in mwifiex_cmd_tx_rate_cfg()
The code block inside the if/else is the same with just using pbitmap_rates if non NULL or priv->bitmap_rates otherwise. Deduplicate the code by picking the correct pointer first and then using it unconditionally. Reviewed-by: Francesco Dolcini <francesco.dolcini@toradex.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de> Acked-by: Brian Norris <briannorris@chromium.org> Link: https://patch.msgid.link/20250410-mwifiex-cleanup-1-v6-1-a6bbd4ac4d37@pengutronix.de Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'drivers/fpga/fpga-region.c')
0 files changed, 0 insertions, 0 deletions