On Fri, 2013-10-25 at 07:28 +0400, Alexander Smirnov wrote: > > 25 окт. 2013 г., в 0:51, Alexander Aring <alex.ar...@gmail.com> написал(а): [] > > diff --git a/net/ieee802154/6lowpan.c b/net/ieee802154/6lowpan.c [] > > @@ -440,7 +440,6 @@ lowpan_uncompress_udp_header(struct sk_buff *skb, > > struct udphdr *uh) > > default: > > pr_debug("ERROR: unknown UDP format\n"); > > goto err; > > - break; > > } > > > > It's not an unnecessary, it's let say a "good coding practice" to have a > break for every case including default.
Hello Alexanders: Some would otherwise say it's a poor practice. ------------------------------------------------------------------------------ October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register > http://pubads.g.doubleclick.net/gampad/clk?id=60135991&iu=/4140/ostg.clktrk _______________________________________________ Linux-zigbee-devel mailing list Linux-zigbee-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-zigbee-devel