[2.6 patch] USB stv680.c: remove an unused function

From: Adrian Bunk
Date: Thu Oct 28 2004 - 18:38:05 EST


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

The patch below removes an unused function from
drivers/usb/media/stv680.c


diffstat output:
drivers/usb/media/stv680.c | 6 ------
1 files changed, 6 deletions(-)


Signed-off-by: Adrian Bunk <bunk@xxxxxxxxx>

- --- linux-2.6.10-rc1-mm1-full/drivers/usb/media/stv680.c.old 2004-10-28 23:31:16.000000000 +0200
+++ linux-2.6.10-rc1-mm1-full/drivers/usb/media/stv680.c 2004-10-28 23:32:24.000000000 +0200
@@ -498,12 +498,6 @@
/****************************************************************************
* 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) \
{ \

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)

iD8DBQFBgYCRmfzqmE8StAARAq1MAJ4mTJOcdzUkmgkFSv+v2KuDnwfVowCgnpP8
I7E8fduvHN15RYPvBszOtiA=
=irpb
-----END PGP SIGNATURE-----
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/