commit | 9e541f142dab67264075baaf8fd2eb4423742c16 | [log] [tgz] |
---|---|---|
author | Bjorn Helgaas <bhelgaas@google.com> | Wed Dec 08 13:24:47 2021 -0600 |
committer | Jens Axboe <axboe@kernel.dk> | Tue Dec 14 06:59:20 2021 -0700 |
tree | 03728cca8e7dc2b321ff8e0248ff857f1454002d | |
parent | 2920417c98dbe4b58200c12fc9dc152834b76e42 [diff] |
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>