[dm-devel] [PATCH 07/15] libmpathpersist: Remove an unused function

Bart Van Assche bart.vanassche at sandisk.com
Fri Oct 21 18:43:50 UTC 2016


Signed-off-by: Bart Van Assche <bart.vanassche at sandisk.com>
---
 libmpathpersist/mpath_persist.c | 11 -----------
 1 file changed, 11 deletions(-)

diff --git a/libmpathpersist/mpath_persist.c b/libmpathpersist/mpath_persist.c
index 7501651..edd4246 100644
--- a/libmpathpersist/mpath_persist.c
+++ b/libmpathpersist/mpath_persist.c
@@ -414,17 +414,6 @@ get_mpvec (vector curmp, vector pathvec, char * refwwid)
 	return MPATH_PR_SUCCESS ;
 }
 
-void * mpath_prin_pthread_fn (void *p)
-{
-	int ret;
-	struct prin_param * pparam = (struct prin_param *)p;
-
-	ret = prin_do_scsi_ioctl(pparam->dev, pparam->rq_servact,
-				 pparam->resp,  pparam->noisy);
-	pparam->status = ret;
-	pthread_exit(NULL);
-}
-
 int mpath_send_prin_activepath (char * dev, int rq_servact,
 				struct prin_resp * resp, int noisy)
 {
-- 
2.10.1




More information about the dm-devel mailing list