mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Neeraj Pal <neerajpal09@gmail.com>
To: barebox@lists.infradead.org
Cc: Neeraj Pal <neerajpal09@gmail.com>
Subject: [PATCH] Removed Unreachable code: net/net.c: net_handle_arp()
Date: Sun,  9 May 2021 01:06:56 +0530	[thread overview]
Message-ID: <20210508193654.81389-1-neerajpal09@gmail.com> (raw)

Signed-off-by: Neeraj Pal <neerajpal09@gmail.com>
---
 net/net.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/net/net.c b/net/net.c
index 4dffc1bd5..fdb9ab826 100644
--- a/net/net.c
+++ b/net/net.c
@@ -577,8 +577,6 @@ static int net_handle_arp(struct eth_device *edev, unsigned char *pkt, int len)
 		return -EINVAL;
 	}
 
-	return 0;
-
 bad:
 	net_bad_packet(pkt, len);
 	return -EINVAL;
-- 
2.25.1


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


             reply	other threads:[~2021-05-08 19:40 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-05-08 19:36 Neeraj Pal [this message]
2021-05-10  7:21 ` 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=20210508193654.81389-1-neerajpal09@gmail.com \
    --to=neerajpal09@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