diff options
author | Manivannan Sadhasivam <[email protected]> | 2022-09-14 13:23:41 +0530 |
---|---|---|
committer | Lorenzo Pieralisi <[email protected]> | 2022-10-03 10:38:16 +0200 |
commit | 9cf4843e1acf08ab5c523bc4fa8f7b24de2bea3a (patch) | |
tree | f0677938b2434f2321e2494d26fe3a1bc403389e /lib/netdev-notifier-error-inject.c | |
parent | e2efd31465b1d97a0bca6f93cb75ccdc8001c8d3 (diff) |
PCI: qcom-ep: Make use of the cached dev pointer
In the qcom_pcie_ep_get_resources() function, dev pointer is already
cached in a local variable. So let's make use of it instead of getting
the dev pointer again from pdev struct.
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Manivannan Sadhasivam <[email protected]>
Signed-off-by: Lorenzo Pieralisi <[email protected]>
Diffstat (limited to 'lib/netdev-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions