Skip to contentSkip to conversation

USB stv680.c: remove an unused function

PATCH New Adrian Bunk 2 participants 3 messages Oct 28, 2004 – Nov 2, 2004 USB

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 USB stv680.c: remove an unused function

-----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(-)

- --- 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-----

#1 lore raw

PATCH 1/1 USB stv680.c: remove an unused function

[ this time without the problems due to a digital signature... ]

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(-)
drivers/usb/media/stv680.c renamed from drivers/usb/media/stv680.c.old +0 -6
@@ -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)	\
 {									\
Applied
#2 lore raw
Quoted 6 lines · Adrian Bunk

[ this time without the problems due to a digital signature... ]

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

Quoted 6 lines

diffstat output:

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

Applied, thanks.

greg k-h