diff options
author | Till Straumann <strauman@slac.stanford.edu> | 2009-10-20 23:40:00 +0000 |
---|---|---|
committer | Till Straumann <strauman@slac.stanford.edu> | 2009-10-20 23:40:00 +0000 |
commit | a4635d8958adcd146e34dc1beb2a1f5f611bf6c7 (patch) | |
tree | 19a1eb63faadc7bb70bb51776e5dea34112a74c6 | |
parent | 2009-10-20 Till Straumann <Till.Straumann@TU-Berlin.de> (diff) | |
download | libbsdport-a4635d8958adcd146e34dc1beb2a1f5f611bf6c7.tar.bz2 |
2009-10-20 Till Straumann <Till.Straumann@TU-Berlin.de>
* 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).
-rw-r--r-- | bsd_eth_drivers/if_re/if_re.c | 2 |
1 files changed, 2 insertions, 0 deletions
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); |