]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
PCI/portdrv: Drop empty shutdown callback
authorUwe Kleine-König <u.kleine-koenig@baylibre.com>
Tue, 2 Dec 2025 15:13:50 +0000 (16:13 +0100)
committerBjorn Helgaas <bhelgaas@google.com>
Tue, 13 Jan 2026 21:42:09 +0000 (15:42 -0600)
commit15fff3b799ffa38970c6d58dc8dd0aaf3317fab7
treec6a78b8b1d25fa1bc0f10cbd36b7f1989fc1fa23
parent01464a3fdf91c041a381d93a1b6fefbdb819a46f
PCI/portdrv: Drop empty shutdown callback

.shutdown() is an optional callback and the core only calls it if the
pointer in struct device_driver is non-NULL. So make nothing in a bit
shorter time and remove the empty function.

Signed-off-by: Uwe Kleine-König <ukleinek@kernel.org>
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@baylibre.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Jonathan Cameron <jonathan.cameron@huawei.com>
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Link: https://patch.msgid.link/283fef06ac51efbb7df25f347d6f3a2967f96429.1764688034.git.u.kleine-koenig@baylibre.com
drivers/pci/pcie/portdrv.c