9front - general discussion about 9front
 help / color / mirror / Atom feed
From: Romano <unobe@cpan.org>
To: 9front@9front.org
Subject: [9front] [patch] remove dead code
Date: Thu, 08 Apr 2021 15:04:03 -0700	[thread overview]
Message-ID: <32762055C9FCEF431713A33BF8286BFA@smtp.pobox.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 111 bytes --]

cinap provided a better patch for rndis handling, so the old code can
be removed since it will never be called.

[-- Attachment #2: Type: text/plain, Size: 605 bytes --]

changeset:   8405:fd9ec96387c8
branch:      mbp-2011
tag:         tip
user:        Romano <unobe@cpan.org>
date:        Thu Apr 08 14:59:05 2021 -0700
summary:     remove dead code

diff -r 673b3a63b513 -r fd9ec96387c8 rc/bin/nusbrc
--- a/rc/bin/nusbrc	Thu Apr 08 14:51:11 2021 -0700
+++ b/rc/bin/nusbrc	Thu Apr 08 14:59:05 2021 -0700
@@ -16,9 +16,6 @@
 		case ff0202
 			# RNDIS; handled by /sys/src/9/boot/nusbrc
 		case *02
-			# serial and ethernet: 0xff0202 is RNDIS, handled by nusbrc
-			if (! ~ $4 ff0202)
-				nusb/serial $id
 			# handled /sys/src/9/boot/nusbrc
 			# nusb/ether $id
 		case *03

             reply	other threads:[~2021-04-09 11:47 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-04-08 22:04 Romano [this message]
2021-04-09  5:41 ` [9front] " Romano

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=32762055C9FCEF431713A33BF8286BFA@smtp.pobox.com \
    --to=unobe@cpan.org \
    --cc=9front@9front.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;
as well as URLs for NNTP newsgroup(s).