summaryrefslogtreecommitdiff
path: root/net/lapb/lapb_subr.c
diff options
context:
space:
mode:
authorMichael Chan <michael.chan@broadcom.com>2025-03-10 21:31:24 +0300
committerPaolo Abeni <pabeni@redhat.com>2025-03-18 12:25:21 +0300
commited827402d4f0bb936d3a64ea6915c2fbb6eed30c (patch)
tree514f27eb213cebbe203c541d9fbfce4862a9fe5b /net/lapb/lapb_subr.c
parentb54b249084648c86fcb351a186210d144c20f544 (diff)
downloadlinux-ed827402d4f0bb936d3a64ea6915c2fbb6eed30c.tar.xz
bnxt_en: Refactor bnxt_hwrm_nvm_req()
bnxt_hwrm_nvm_req() first searches the nvm_params[] array for the NVM parameter to set or get. The array entry contains all the NVM information about that parameter. The information is then used to send the FW message to set or get the parameter. Refactor it to only do the array search in bnxt_hwrm_nvm_req() and pass the array entry to the new function __bnxt_hwrm_nvm_req() to send the FW message. The next patch will be able to use the new function. Reviewed-by: Pavan Chebbi <pavan.chebbi@broadcom.com> Signed-off-by: Michael Chan <michael.chan@broadcom.com> Link: https://patch.msgid.link/20250310183129.3154117-3-michael.chan@broadcom.com Reviewed-by: Jacob Keller <jacob.e.keller@intel.com> Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'net/lapb/lapb_subr.c')
0 files changed, 0 insertions, 0 deletions