From 9086689676f63f51fbec73245c2b8c847b0f1cbb Mon Sep 17 00:00:00 2001 From: H Hartley Sweeten Date: Fri, 20 Jun 2014 11:10:34 -0700 Subject: [PATCH] staging: comedi: mite.h: remove mite_device() This inline function is not used. Just remove it. Signed-off-by: H Hartley Sweeten Reviewed-by: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- drivers/staging/comedi/drivers/mite.h | 5 ----- 1 file changed, 5 deletions(-) diff --git a/drivers/staging/comedi/drivers/mite.h b/drivers/staging/comedi/drivers/mite.h index 9968d8dc53af..5137e18707fb 100644 --- a/drivers/staging/comedi/drivers/mite.h +++ b/drivers/staging/comedi/drivers/mite.h @@ -70,11 +70,6 @@ static inline void mite_free(struct mite_struct *mite) kfree(mite); } -static inline unsigned int mite_device_id(struct mite_struct *mite) -{ - return mite->pcidev->device; -}; - int mite_setup(struct mite_struct *mite); int mite_setup2(struct mite_struct *mite, unsigned use_iodwbsr_1); void mite_unsetup(struct mite_struct *mite); -- 2.39.5