Skip to contentSkip to conversation

xprt_iter_get_xprt deadcode?

DISCUSSION Dr. David Alan Gilbert 1 participant 1 message Sep 12, 2024

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

Hi Trond,
A deadcode hunting script of mine noticed xprt_iter_get_xprt
is unused; from what I can tell, it's never been used since you added it back in 2015. Is it their just for symmetry or would it be right to deadcode it out (in which case I'd be happy to send a patch).

Added in 80b14d5e61ca6d08e
SUNRPC: Add a structure to track multiple transports
include/linux/sunrpc/xprtmultipath.h net/sunrpc/xprtmultipath.c

Thanks in advance,

Dave

Signature · 4 lines
 -----Open up your eyes, open up your mind, open up your code -------   
/ Dr. David Alan Gilbert    |       Running GNU/Linux       | Happy  \ 
\        dave @ treblig.org |                               | In Hex /
 \ _________________________|_____ http://www.treblig.org   |_______/