Skip to content

Commit

Permalink
staging: xgifb: vb_util: delete commented-out code
Browse files Browse the repository at this point in the history
Delete commented-out code.

Signed-off-by: Aaro Koskinen <aaro.koskinen@iki.fi>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
  • Loading branch information
Aaro Koskinen authored and Greg Kroah-Hartman committed Mar 14, 2011
1 parent 0998e1d commit b649c82
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 36 deletions.
34 changes: 0 additions & 34 deletions drivers/staging/xgifb/vb_util.c
Original file line number Diff line number Diff line change
Expand Up @@ -21,22 +21,6 @@ void XGINew_SetReg1(unsigned long port, unsigned short index,
outb(data, port + 1);
}

/* --------------------------------------------------------------------- */
/* Function : XGINew_SetReg2 */
/* Input : */
/* Output : */
/* Description : AR( 3C0 ) */
/* --------------------------------------------------------------------- */
/*
void XGINew_SetReg2(unsigned long port, unsigned short index, unsigned short data)
{
InPortByte((P unsigned char)port + 0x3da - 0x3c0) ;
OutPortByte(XGINew_P3c0, index);
OutPortByte(XGINew_P3c0, data);
OutPortByte(XGINew_P3c0, 0x20);
}
*/

void XGINew_SetReg3(unsigned long port, unsigned short data)
{
outb(data, port);
Expand Down Expand Up @@ -103,21 +87,3 @@ void XGINew_SetRegOR(unsigned long Port, unsigned short Index,
temp |= DataOR;
XGINew_SetReg1(Port, Index, temp);
}

#if 0
void NewDelaySeconds(int seconds)
{
int i;

for (i = 0; i < seconds; i++) {

}
}

void Newdebugcode(unsigned char code)
{
/* OutPortByte(0x80, code); */
/* OutPortByte(0x300, code); */
/* NewDelaySeconds(0x3); */
}
#endif
2 changes: 0 additions & 2 deletions drivers/staging/xgifb/vb_util.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
#ifndef _VBUTIL_
#define _VBUTIL_
extern void NewDelaySeconds( int );
extern void Newdebugcode(unsigned char);
extern void XGINew_SetReg1(unsigned long, unsigned short, unsigned short);
extern void XGINew_SetReg3(unsigned long, unsigned short);
extern unsigned char XGINew_GetReg1(unsigned long, unsigned short);
Expand Down

0 comments on commit b649c82

Please sign in to comment.