| lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening linux-cve-announce PHC | |
|
Open Source and information security mailing list archives
| ||
|
Message-Id: <20110818.220249.1523360015062657902.davem@davemloft.net> Date: Thu, 18 Aug 2011 22:02:49 -0700 (PDT) From: David Miller <davem@...emloft.net> To: jj@...osbits.net Cc: khc@...waw.pl, netdev@...r.kernel.org, linux-kernel@...r.kernel.org, trivial@...nel.org Subject: Re: [PATCH][Trivial] net/wan/hdlc_ppp: remove dead goto From: Jesper Juhl <jj@...osbits.net> Date: Sat, 13 Aug 2011 01:39:43 +0200 (CEST) > From: Jesper Juhl <jj@...osbits.net> > > We'll either hit one of the case labels or the default in the switch > and in all cases do we then 'goto out', so having 'goto out' right > after the switch is pointless as we can never hit it - remove it. > > Signed-off-by: Jesper Juhl <jj@...osbits.net> Probably a lot cleaner to use break statements in the switch() statement and keep this goto in place. That's more straightforward control flow than what this thing is doing. -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majordomo@...r.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists