Commit d2950d8b authored by Adrian Bunk's avatar Adrian Bunk Committed by Greg Kroah-Hartman

[PATCH] USB stv680.c: remove an unused function

The patch below removes an unused function from
drivers/usb/media/stv680.c
Signed-off-by: default avatarAdrian Bunk <bunk@stusta.de>
Signed-off-by: default avatarGreg Kroah-Hartman <greg@kroah.com>
parent 4736d0f9
......@@ -498,12 +498,6 @@ static int stv_init (struct usb_stv *stv680)
/****************************************************************************
* sysfs
***************************************************************************/
static inline struct usb_stv *cd_to_stv(struct class_device *cd)
{
struct video_device *vdev = to_video_device(cd);
return video_get_drvdata(vdev);
}
#define stv680_file(name, variable, field) \
static ssize_t show_##name(struct class_device *class_dev, char *buf) \
{ \
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment