From a4635d8958adcd146e34dc1beb2a1f5f611bf6c7 Mon Sep 17 00:00:00 2001 From: Till Straumann Date: Tue, 20 Oct 2009 23:40:00 +0000 Subject: 2009-10-20 Till Straumann * if_re/if_re.c: fixed 'unused variable' warning by commenting via #ifndef __rtems__ (since code which uses the 'msi_disable' var is commented the same way). --- bsd_eth_drivers/if_re/if_re.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bsd_eth_drivers/if_re/if_re.c b/bsd_eth_drivers/if_re/if_re.c index e529bcf..e7a9f49 100644 --- a/bsd_eth_drivers/if_re/if_re.c +++ b/bsd_eth_drivers/if_re/if_re.c @@ -175,8 +175,10 @@ MODULE_DEPEND(re, miibus, 1, 1, 1); #endif /* Tunables. */ +#ifndef __rtems__ static int msi_disable = 0; TUNABLE_INT("hw.re.msi_disable", &msi_disable); +#endif static int prefer_iomap = 0; TUNABLE_INT("hw.re.prefer_iomap", &prefer_iomap); -- cgit v1.2.3