linuxfb: remove unused function

debug() isn't even referenced in commented-out code, and GCC warns
about it being unused, so remove.

Change-Id: I2830b7932e18cdd3643925973995bea7fea9f277
Reviewed-by: Girish Ramakrishnan <girish.1.ramakrishnan@nokia.com>
bb10
Marc Mutz 2012-08-13 22:33:21 +02:00 committed by Qt by Nokia
parent 55819341a9
commit 75bf40ae13
1 changed files with 0 additions and 10 deletions

View File

@ -244,16 +244,6 @@ static QImage::Format determineFormat(const fb_var_screeninfo &info, int depth)
return format;
}
static void debug(const fb_var_screeninfo &vinfo)
{
qDebug("Greyscale %d", vinfo.grayscale);
qDebug("Nonstd %d", vinfo.nonstd);
qDebug("Red %d %d %d", vinfo.red.offset, vinfo.red.length, vinfo.red.msb_right);
qDebug("Green %d %d %d", vinfo.green.offset, vinfo.green.length, vinfo.green.msb_right);
qDebug("Blue %d %d %d", vinfo.blue.offset, vinfo.blue.length, vinfo.blue.msb_right);
qDebug("Transparent %d %d %d", vinfo.transp.offset, vinfo.transp.length, vinfo.transp.msb_right);
}
static int openTtyDevice(const QString &device)
{
const char *const devs[] = { "/dev/tty0", "/dev/tty", "/dev/console", 0 };