summaryrefslogtreecommitdiff
path: root/kexec/arch/sh/kexec-netbsd-sh.c
diff options
context:
space:
mode:
authorSimon Horman <horms@verge.net.au>2010-02-02 14:42:02 +1100
committerSimon Horman <horms@verge.net.au>2010-02-02 14:42:02 +1100
commit43836a235786b40b100cc1691da9720aa9c5352d (patch)
treea9c0e8042cf8dc081be66028e53cfcbc9edd3c14 /kexec/arch/sh/kexec-netbsd-sh.c
parentc59af3ab34f41f259eb2f019e9f5f9ad3229893f (diff)
Mark unused parameters
Signed-off-by: Simon Horman <horms@verge.net.au>
Diffstat (limited to 'kexec/arch/sh/kexec-netbsd-sh.c')
-rw-r--r--kexec/arch/sh/kexec-netbsd-sh.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/kexec/arch/sh/kexec-netbsd-sh.c b/kexec/arch/sh/kexec-netbsd-sh.c
index a9f57b8..ea67172 100644
--- a/kexec/arch/sh/kexec-netbsd-sh.c
+++ b/kexec/arch/sh/kexec-netbsd-sh.c
@@ -33,7 +33,7 @@ const extern unsigned char netbsd_booter[];
*
* Make sure that the file image has a reasonable chance of working.
*/
-int netbsd_sh_probe(const char *buf, off_t len)
+int netbsd_sh_probe(const char *buf, off_t UNUSED(len))
{
Elf32_Ehdr *ehdr;
@@ -54,7 +54,7 @@ void netbsd_sh_usage(void)
" --miniroot=FILE NetBSD miniroot ramdisk.\n\n");
}
-int netbsd_sh_load(int argc, char **argv, const char *buf, off_t len,
+int netbsd_sh_load(int argc, char **argv, const char *buf, off_t UNUSED(len),
struct kexec_info *info)
{
const char *howto, *miniroot;