Skip to contentSkip to conversation

DVB av7110_hw.c: remove unused functions

PATCH New Adrian Bunk 1 participant 2 messages Oct 28, 2004 – Oct 29, 2004 Media (V4L/DVB)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 DVB av7110_hw.c: remove unused functions

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

The patch below removes three unused functions from drivers/media/dvb/ttpci/av7110_hw.c

diffstat output:

 drivers/media/dvb/ttpci/av7110_hw.c |   15 ---------------
 1 files changed, 15 deletions(-)

- --- linux-2.6.10-rc1-mm1-full/drivers/media/dvb/ttpci/av7110_hw.c.old 2004-10-28 23:04:59.000000000 +0200
+++ linux-2.6.10-rc1-mm1-full/drivers/media/dvb/ttpci/av7110_hw.c 2004-10-28 23:05:26.000000000 +0200
@@ -577,21 +577,11 @@

#ifdef CONFIG_DVB_AV7110_OSD

- -static inline int ResetBlend(struct av7110 *av7110, u8 windownr)
- -{
- - return av7110_fw_cmd(av7110, COMTYPE_OSD, SetNonBlend, 1, windownr);
- -}
- -
static inline int SetColorBlend(struct av7110 *av7110, u8 windownr) {
return av7110_fw_cmd(av7110, COMTYPE_OSD, SetCBlend, 1, windownr);
}

- -static inline int SetWindowBlend(struct av7110 *av7110, u8 windownr, u8 blending)
- -{
- - return av7110_fw_cmd(av7110, COMTYPE_OSD, SetWBlend, 2, windownr, blending);
- -}
- -
static inline int SetBlend_(struct av7110 *av7110, u8 windownr,
enum av7110_osd_palette_type colordepth, u16 index, u8 blending)
{
@@ -606,11 +596,6 @@
windownr, colordepth, index, colorhi, colorlo);
}

- -static inline int BringToTop(struct av7110 *av7110, u8 windownr)
- -{
- - return av7110_fw_cmd(av7110, COMTYPE_OSD, WTop, 1, windownr);
- -}
- -
static inline int SetFont(struct av7110 *av7110, u8 windownr, u8 fontsize,
u16 colorfg, u16 colorbg)
{

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

iD8DBQFBgW/3mfzqmE8StAARAnceAJ9rnRwLZOg3tqGApjFlHYj72FyoTgCgg6xW Yb196gzbnH23HC8AJJM03r8=
=CYK5
-----END PGP SIGNATURE-----

#1 lore raw

PATCH 1/1 DVB av7110_hw.c: remove unused functions

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

The patch below removes three unused functions from drivers/media/dvb/ttpci/av7110_hw.c

diffstat output:

 drivers/media/dvb/ttpci/av7110_hw.c |   15 ---------------
 1 files changed, 15 deletions(-)
drivers/media/dvb/ttpci/av7110_hw.c renamed from drivers/media/dvb/ttpci/av7110_hw.c.old +0 -15
@@ -577,21 +577,11 @@
 
 #ifdef CONFIG_DVB_AV7110_OSD
 
-static inline int ResetBlend(struct av7110 *av7110, u8 windownr)
-{
-	return av7110_fw_cmd(av7110, COMTYPE_OSD, SetNonBlend, 1, windownr);
-}
-
 static inline int SetColorBlend(struct av7110 *av7110, u8 windownr)
 {
 	return av7110_fw_cmd(av7110, COMTYPE_OSD, SetCBlend, 1, windownr);
 }
 
-static inline int SetWindowBlend(struct av7110 *av7110, u8 windownr, u8 blending)
-{
-	return av7110_fw_cmd(av7110, COMTYPE_OSD, SetWBlend, 2, windownr, blending);
-}
-
 static inline int SetBlend_(struct av7110 *av7110, u8 windownr,
 		     enum av7110_osd_palette_type colordepth, u16 index, u8 blending)
 {
@@ -606,11 +596,6 @@
 			     windownr, colordepth, index, colorhi, colorlo);
 }
 
-static inline int BringToTop(struct av7110 *av7110, u8 windownr)
-{
-	return av7110_fw_cmd(av7110, COMTYPE_OSD, WTop, 1, windownr);
-}
-
 static inline int SetFont(struct av7110 *av7110, u8 windownr, u8 fontsize,
 			  u16 colorfg, u16 colorbg)
 {