rapidio: remove unused functions
authorDr. David Alan Gilbert <linux@treblig.org>
Sat, 19 Apr 2025 20:30:12 +0000 (21:30 +0100)
committerAndrew Morton <akpm@linux-foundation.org>
Mon, 12 May 2025 00:54:09 +0000 (17:54 -0700)
commitba8182d44b4e557e2dc34e51a88105ce5b083372
tree25320978019f5a782909a9c4b625f6950257a40d
parentb7df1f254e1a326e6c55698b76bf407df4ec6b6c
rapidio: remove unused functions

rio_request_dma() and rio_dma_prep_slave_sg() were added in 2012 by commit
e42d98ebe7d7 ("rapidio: add DMA engine support for RIO data transfers")
but never used.

rio_find_mport() last use was removed in 2013 by commit 9edbc30b434f
("rapidio: update enumerator registration mechanism")

rio_unregister_scan() was added in 2013 by commit a11650e11093 ("rapidio:
make enumeration/discovery configurable") but never used.

Remove them.

Link: https://lkml.kernel.org/r/20250419203012.429787-3-linux@treblig.org
Signed-off-by: Dr. David Alan Gilbert <linux@treblig.org>
Cc: Alexandre Bounine <alex.bou9@gmail.com>
Cc: Matt Porter <mporter@kernel.crashing.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
drivers/rapidio/rio.c
drivers/rapidio/rio.h
include/linux/rio_drv.h