mtip32xx: remove pointless drvdata lookups
authorBjorn Helgaas <bhelgaas@google.com>
Wed, 8 Dec 2021 19:24:47 +0000 (13:24 -0600)
committerJens Axboe <axboe@kernel.dk>
Tue, 14 Dec 2021 13:59:20 +0000 (06:59 -0700)
commit9e541f142dab67264075baaf8fd2eb4423742c16
tree03728cca8e7dc2b321ff8e0248ff857f1454002d
parent2920417c98dbe4b58200c12fc9dc152834b76e42
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>
drivers/block/mtip32xx/mtip32xx.c