From: H Hartley Sweeten Date: Fri, 20 Jun 2014 18:10:34 +0000 (-0700) Subject: staging: comedi: mite.h: remove mite_device() X-Git-Tag: v3.17-rc1~123^2~1290 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=9086689676f63f51fbec73245c2b8c847b0f1cbb;p=karo-tx-linux.git 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 --- 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);