From b75a23337c003e45c5017f29cbeb4189a6b1e8f1 Mon Sep 17 00:00:00 2001 From: Mike Isely Date: Tue, 18 Jul 2006 20:42:18 -0500 Subject: Refine dead code elimination in pvrusb2 From: Mike Isely Signed-off-by: Mike Isely --- linux/drivers/media/video/pvrusb2/pvrusb2-hdw.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'linux/drivers/media/video/pvrusb2/pvrusb2-hdw.h') diff --git a/linux/drivers/media/video/pvrusb2/pvrusb2-hdw.h b/linux/drivers/media/video/pvrusb2/pvrusb2-hdw.h index 4e886328d..141961488 100644 --- a/linux/drivers/media/video/pvrusb2/pvrusb2-hdw.h +++ b/linux/drivers/media/video/pvrusb2/pvrusb2-hdw.h @@ -92,6 +92,9 @@ struct pvr2_hdw *pvr2_hdw_create(struct usb_interface *intf, void pvr2_hdw_poll(struct pvr2_hdw *); /* Trigger a poll to take place later at a convenient time */ +#if 0 +void pvr2_hdw_poll_trigger(struct pvr2_hdw *); +#endif /* 0 */ void pvr2_hdw_poll_trigger_unlocked(struct pvr2_hdw *); /* Register a callback used to trigger a future poll */ @@ -99,6 +102,11 @@ void pvr2_hdw_setup_poll_trigger(struct pvr2_hdw *, void (*func)(void *), void *data); +#if 0 +/* Get pointer to structure given unit number */ +struct pvr2_hdw *pvr2_hdw_find(int unit_number); + +#endif /* 0 */ /* Destroy hardware interaction structure */ void pvr2_hdw_destroy(struct pvr2_hdw *); -- cgit v1.2.3