mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Du Huanpeng <u74147@gmail.com>
To: barebox@lists.infradead.org
Cc: Du Huanpeng <u74147@gmail.com>
Subject: [PATCH] MIPS: dtb: remove unused variable ``root''
Date: Thu, 22 Oct 2020 09:56:16 +0800	[thread overview]
Message-ID: <1603331776-10429-1-git-send-email-u74147@gmail.com> (raw)

the ``root'' is not used and cause a warning.

Signed-off-by: Du Huanpeng <u74147@gmail.com>
---
 arch/mips/boot/dtb.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/arch/mips/boot/dtb.c b/arch/mips/boot/dtb.c
index 2aff4ad..6fce470 100644
--- a/arch/mips/boot/dtb.c
+++ b/arch/mips/boot/dtb.c
@@ -35,7 +35,6 @@ extern char __dtb_start[];
 
 static int of_mips_init(void)
 {
-	struct device_node *root;
 	void *fdt;
 
 	fdt = glob_fdt;
-- 
2.7.4


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

             reply	other threads:[~2020-10-22  1:56 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-10-22  1:56 Du Huanpeng [this message]
2020-10-22  7:29 ` Sascha Hauer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1603331776-10429-1-git-send-email-u74147@gmail.com \
    --to=u74147@gmail.com \
    --cc=barebox@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox