aboutsummaryrefslogtreecommitdiff
path: root/lib/string_helpers.c
diff options
context:
space:
mode:
authorBjorn Helgaas <bhelgaas@google.com>2021-12-08 13:24:47 -0600
committerJens Axboe <axboe@kernel.dk>2021-12-14 06:59:20 -0700
commit9e541f142dab67264075baaf8fd2eb4423742c16 (patch)
tree03728cca8e7dc2b321ff8e0248ff857f1454002d /lib/string_helpers.c
parent2920417c98dbe4b58200c12fc9dc152834b76e42 (diff)
downloadlinux-9e541f142dab67264075baaf8fd2eb4423742c16.tar.gz
linux-9e541f142dab67264075baaf8fd2eb4423742c16.tar.bz2
linux-9e541f142dab67264075baaf8fd2eb4423742c16.zip
mtip32xx: remove pointless drvdata lookups
Previously we passed a struct pci_dev * to mtip_check_surprise_removal(), which immediately looked up the driver_data. But all callers already have the driver_data pointer, so just pass it directly and skip the extra lookup. No functional change intended. Signed-off-by: Bjorn Helgaas <bhelgaas@google.com> Link: https://lore.kernel.org/r/20211208192449.146076-3-helgaas@kernel.org Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions