summaryrefslogtreecommitdiffstats
path: root/discover/device-handler.c
diff options
context:
space:
mode:
authorJeremy Kerr <jk@ozlabs.org>2009-02-01 11:19:19 +1100
committerJeremy Kerr <jk@ozlabs.org>2009-02-01 11:19:19 +1100
commit61679084243c471053b0b1b9865b40d721586958 (patch)
treee7e2784dd64a86ed413fe65301fb31bf071123b7 /discover/device-handler.c
parent9793f862467407e83aa5b5a2cc35c25de9bae17b (diff)
downloadtalos-petitboot-61679084243c471053b0b1b9865b40d721586958.tar.gz
talos-petitboot-61679084243c471053b0b1b9865b40d721586958.zip
Fix unused parameter warnings
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Diffstat (limited to 'discover/device-handler.c')
-rw-r--r--discover/device-handler.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/discover/device-handler.c b/discover/device-handler.c
index 8d3e877..7e5819c 100644
--- a/discover/device-handler.c
+++ b/discover/device-handler.c
@@ -53,7 +53,8 @@ static struct device device = {
.icon_file = "meep.png",
};
-int device_handler_get_current_devices(struct device_handler *handler,
+int device_handler_get_current_devices(
+ struct device_handler *handler __attribute__((unused)),
struct device **devices)
{
OpenPOWER on IntegriCloud