linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [2.6 patch] DVB av7110_hw.c: remove unused functions
@ 2004-10-28 22:17 Adrian Bunk
  2004-10-29  0:16 ` Adrian Bunk
  0 siblings, 1 reply; 2+ messages in thread
From: Adrian Bunk @ 2004-10-28 22:17 UTC (permalink / raw)
  To: linux-dvb-maintainer; +Cc: linux-kernel

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


Signed-off-by: Adrian Bunk <bunk@stusta.de>

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [2.6 patch] DVB av7110_hw.c: remove unused functions
  2004-10-28 22:17 [2.6 patch] DVB av7110_hw.c: remove unused functions Adrian Bunk
@ 2004-10-29  0:16 ` Adrian Bunk
  0 siblings, 0 replies; 2+ messages in thread
From: Adrian Bunk @ 2004-10-29  0:16 UTC (permalink / raw)
  To: linux-dvb-maintainer; +Cc: linux-kernel

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


Signed-off-by: Adrian Bunk <bunk@stusta.de>

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-10-29  2:14 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-10-28 22:17 [2.6 patch] DVB av7110_hw.c: remove unused functions Adrian Bunk
2004-10-29  0:16 ` Adrian Bunk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).