aboutsummaryrefslogtreecommitdiff
path: root/console.h
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2012-09-28 15:31:33 +0200
committerGerd Hoffmann <kraxel@redhat.com>2012-11-01 13:10:06 +0100
commit4dc6a39bbd1a03f86797e0df2db285318f086aee (patch)
tree39f71f6833142abb5421ed0e40d34a66501ed02f /console.h
parent9678aedd8e76978465698b9edeb069ccee15e975 (diff)
console: remove dpy_gfx_fill
Unused code. 'nuff said. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'console.h')
-rw-r--r--console.h13
1 files changed, 0 insertions, 13 deletions
diff --git a/console.h b/console.h
index 7e0ac760e3..6492e67bd2 100644
--- a/console.h
+++ b/console.h
@@ -161,8 +161,6 @@ struct DisplayChangeListener {
void (*dpy_gfx_setdata)(struct DisplayState *s);
void (*dpy_gfx_copy)(struct DisplayState *s, int src_x, int src_y,
int dst_x, int dst_y, int w, int h);
- void (*dpy_gfx_fill)(struct DisplayState *s, int x, int y,
- int w, int h, uint32_t c);
void (*dpy_text_cursor)(struct DisplayState *s, int x, int y);
void (*dpy_text_resize)(struct DisplayState *s, int w, int h);
@@ -306,17 +304,6 @@ static inline void dpy_gfx_copy(struct DisplayState *s, int src_x, int src_y,
}
}
-static inline void dpy_gfx_fill(struct DisplayState *s, int x, int y,
- int w, int h, uint32_t c)
-{
- struct DisplayChangeListener *dcl;
- QLIST_FOREACH(dcl, &s->listeners, next) {
- if (dcl->dpy_gfx_fill) {
- dcl->dpy_gfx_fill(s, x, y, w, h, c);
- }
- }
-}
-
static inline void dpy_text_cursor(struct DisplayState *s, int x, int y)
{
struct DisplayChangeListener *dcl;