From 89306e608e74cb13c3fc7a5848ffd4108787f61b Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Fri, 21 Feb 2014 13:31:29 +0100 Subject: remove old variables MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- src/blueshift_randr_c.c | 23 ----------------------- 1 file changed, 23 deletions(-) (limited to 'src') diff --git a/src/blueshift_randr_c.c b/src/blueshift_randr_c.c index bf2656e..8a40f7c 100644 --- a/src/blueshift_randr_c.c +++ b/src/blueshift_randr_c.c @@ -79,21 +79,6 @@ static blueshift_randr_crtc_t* crtcs; */ static blueshift_randr_crtc_t* crtcs_end; -/** - * The red colour curve - */ -static uint16_t* r_curve; - -/** - * The green colour curve - */ -static uint16_t* g_curve; - -/** - * The blue colour curve - */ -static uint16_t* b_curve; - /** @@ -216,13 +201,6 @@ int blueshift_randr_open(int use_screen) free(gamma_get_reply); } - - /* Allocate curves */ - - r_curve = malloc(3 * 256 * sizeof(uint16_t)); - g_curve = r_curve + 256; - b_curve = g_curve + 256; - return 0; } @@ -284,7 +262,6 @@ void blueshift_randr_close(void) { /* Free remaining resources */ - free(r_curve); free(crtcs); free(res_reply); xcb_disconnect(connection); -- cgit v1.2.3-70-g09d2