Commit af59fe4e authored by Adrian Bunk's avatar Adrian Bunk Committed by Linus Torvalds

[PATCH] drivers/char/mwave/smapi.c: small cleanups

This patch contains the following cleanups:
- make the needlessly global function smapi_request static
- #if 0 the currently unused function SmapiQuerySystemID
Signed-off-by: default avatarAdrian Bunk <bunk@stusta.de>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent e25ce14a
......@@ -54,7 +54,7 @@
static unsigned short g_usSmapiPort = 0;
int smapi_request(unsigned short inBX, unsigned short inCX,
static int smapi_request(unsigned short inBX, unsigned short inCX,
unsigned short inDI, unsigned short inSI,
unsigned short *outAX, unsigned short *outBX,
unsigned short *outCX, unsigned short *outDX,
......@@ -511,8 +511,8 @@ int smapi_set_DSP_power_state(BOOLEAN bOn)
return bRC;
}
int SmapiQuerySystemID(void)
#if 0
static int SmapiQuerySystemID(void)
{
int bRC = -EIO;
unsigned short usAX = 0xffff, usBX = 0xffff, usCX = 0xffff,
......@@ -531,7 +531,7 @@ int SmapiQuerySystemID(void)
return bRC;
}
#endif /* 0 */
int smapi_init(void)
{
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment