summaryrefslogtreecommitdiff
path: root/drivers/infiniband/hw/ionic/ionic_datapath.c
diff options
context:
space:
mode:
authorJiri Slaby (SUSE) <jirislaby@kernel.org>2025-06-11 12:02:48 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2025-06-17 13:42:33 +0200
commit2c35a83b11123591fecd792744834082d037bd4f (patch)
tree3bb9e0cb59035c2e75a9d620b2aa97fd3c09d0b6 /drivers/infiniband/hw/ionic/ionic_datapath.c
parent2b5eac0f8c6e79bc152c8804f9f88d16717013ab (diff)
powerpc/legacy_serial: cache serial port and info in add_legacy_port()
Caching the port and info in local variables makes the code more compact and easier to understand. Signed-off-by: "Jiri Slaby (SUSE)" <jirislaby@kernel.org> Cc: Madhavan Srinivasan <maddy@linux.ibm.com> Cc: Michael Ellerman <mpe@ellerman.id.au> Cc: Nicholas Piggin <npiggin@gmail.com> Cc: Christophe Leroy <christophe.leroy@csgroup.eu> Cc: linuxppc-dev@lists.ozlabs.org Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com> Link: https://lore.kernel.org/r/20250611100319.186924-3-jirislaby@kernel.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/infiniband/hw/ionic/ionic_datapath.c')
0 files changed, 0 insertions, 0 deletions