summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorChristophe Leroy <christophe.leroy@csgroup.eu>2022-06-23 13:08:36 +0300
committerMichael Ellerman <mpe@ellerman.id.au>2022-06-26 03:29:44 +0300
commitd7f396461518c766b2436d64b6d3ba6a4c418dcf (patch)
treec3f7e28f0bf9a4b2bcb4a5815490234b9a0d4b80 /drivers
parent2d386769753a71e57a1a38c7fb79013d3ac451e9 (diff)
downloadlinux-d7f396461518c766b2436d64b6d3ba6a4c418dcf.tar.xz
powerpc/powermac: Remove empty function note_scsi_host()
note_scsi_host() has been an empty function since commit 6ee0d9f744d4 ("[POWERPC] Remove unused old code from powermac setup code"). Remove it. Reported-by: kernel test robot <lkp@intel.com> Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://lore.kernel.org/r/26f8b72a4276c0bd8ed63860c7316f6361c351b4.1655978907.git.christophe.leroy@csgroup.eu
Diffstat (limited to 'drivers')
-rw-r--r--drivers/scsi/mesh.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/scsi/mesh.c b/drivers/scsi/mesh.c
index a74f0c2c8ba7..84b541a57b7b 100644
--- a/drivers/scsi/mesh.c
+++ b/drivers/scsi/mesh.c
@@ -1882,11 +1882,6 @@ static int mesh_probe(struct macio_dev *mdev, const struct of_device_id *match)
goto out_release;
}
- /* Old junk for root discovery, that will die ultimately */
-#if !defined(MODULE)
- note_scsi_host(mesh, mesh_host);
-#endif
-
mesh_host->base = macio_resource_start(mdev, 0);
mesh_host->irq = macio_irq(mdev, 0);
ms = (struct mesh_state *) mesh_host->hostdata;