[2.6 patch] DVB av7110_hw.c: remove unused functions (fwd)

From: Adrian Bunk
Date: Tue Dec 07 2004 - 20:25:21 EST


The patch forwarded below still applies and compiles against
2.6.10-rc2-mm4.

Please apply.


----- Forwarded message from Adrian Bunk <bunk@xxxxxxxxx> -----

Date: Fri, 29 Oct 2004 02:16:52 +0200
From: Adrian Bunk <bunk@xxxxxxxxx>
To: linux-dvb-maintainer@xxxxxxxxxxx
Cc: linux-kernel@xxxxxxxxxxxxxxx
Subject: [2.6 patch] DVB av7110_hw.c: remove unused functions

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

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

----- End forwarded message -----

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