]> www.infradead.org Git - users/jedix/linux-maple.git/commit
staging: gpib: mite: remove unused global functions
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 8 Jan 2025 09:10:10 +0000 (10:10 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 8 Jan 2025 12:15:52 +0000 (13:15 +0100)
commit6f79db028e827b023623a6ff825952e0d5fb619f
tree5585318d9d69d29808e0b3627328b5db9dd1d3ad
parent84b172cea4a23016dc80a44eaa7ff8b7c97b04b3
staging: gpib: mite: remove unused global functions

The mite.c file was originally copied from the COMEDI code, and now that
it is in the kernel tree, along with the comedi code, on some build
configurations there are errors due to duplicate symbols (specifically
mite_dma_disarm).

Remove all of the unused functions in the gpib mite.c and .h files as
they aren't needed and cause the compiler to be confused.

Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/r/202501081239.BAPhfAHJ-lkp@intel.com/
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Link: https://lore.kernel.org/r/2025010809-padding-survive-91b3@gregkh
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/gpib/tnt4882/mite.c
drivers/staging/gpib/tnt4882/mite.h