staging: comedi: mite.h: remove mite_device()
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Fri, 20 Jun 2014 18:10:34 +0000 (11:10 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 29 Jun 2014 21:17:59 +0000 (14:17 -0700)
This inline function is not used. Just remove it.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Reviewed-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers/mite.h

index 9968d8dc53afcb750600c5dbaa5aaf3c7c2dd09d..5137e18707fbd4304be78e722abb59cd12e786e8 100644 (file)
@@ -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);