提交 dbc6b5f5 编写于 作者: A Adrian Bunk 提交者: Linus Torvalds

[PATCH] drivers/char/istallion.c: remove an unneeded variable

This patch removes an unneeded global variable.
Signed-off-by: NAdrian Bunk <bunk@stusta.de>
Signed-off-by: NAndrew Morton <akpm@osdl.org>
Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
上级 f25ad2d3
...@@ -407,7 +407,6 @@ static unsigned long stli_eisamemprobeaddrs[] = { ...@@ -407,7 +407,6 @@ static unsigned long stli_eisamemprobeaddrs[] = {
}; };
static int stli_eisamempsize = sizeof(stli_eisamemprobeaddrs) / sizeof(unsigned long); static int stli_eisamempsize = sizeof(stli_eisamemprobeaddrs) / sizeof(unsigned long);
int stli_eisaprobe = STLI_EISAPROBE;
/* /*
* Define the Stallion PCI vendor and device IDs. * Define the Stallion PCI vendor and device IDs.
...@@ -4685,7 +4684,7 @@ static int stli_initbrds(void) ...@@ -4685,7 +4684,7 @@ static int stli_initbrds(void)
#ifdef MODULE #ifdef MODULE
stli_argbrds(); stli_argbrds();
#endif #endif
if (stli_eisaprobe) if (STLI_EISAPROBE)
stli_findeisabrds(); stli_findeisabrds();
#ifdef CONFIG_PCI #ifdef CONFIG_PCI
stli_findpcibrds(); stli_findpcibrds();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册