summaryrefslogtreecommitdiffstats
path: root/net/socket.c
diff options
context:
space:
mode:
authorSerge Semin <Sergey.Semin@baikalelectronics.ru>2022-06-24 16:34:22 +0200
committerBjorn Helgaas <bhelgaas@google.com>2022-07-06 02:00:52 +0200
commitbd42f3108b41687f579dbb6705e7a2711a063485 (patch)
treeaa02a1ef3782e81ca0d6de9b8360c7c191aef43d /net/socket.c
parentPCI: dwc: Organize local variable usage (diff)
downloadlinux-bd42f3108b41687f579dbb6705e7a2711a063485.tar.xz
linux-bd42f3108b41687f579dbb6705e7a2711a063485.zip
PCI: dwc: Reuse local pointer to the resource data
dw_pcie_host_init() has two instances of the resource structure pointers used in unrelated places. It's pointless to have two different local storages for them since the corresponding code is small and having resource-specific names doesn't make it more readable. Convert these parts of the function to use a common pointer to the resource structure instance. Link: https://lore.kernel.org/r/20220624143428.8334-13-Sergey.Semin@baikalelectronics.ru Signed-off-by: Serge Semin <Sergey.Semin@baikalelectronics.ru> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com> Reviewed-by: Rob Herring <robh@kernel.org> Reviewed-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Diffstat (limited to 'net/socket.c')
0 files changed, 0 insertions, 0 deletions