diff options
author | Akinobu Mita <akinobu.mita@gmail.com> | 2013-04-29 16:21:41 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2013-04-29 18:28:43 -0700 |
commit | 70e3ba72ba9afd4ec28ab09f6a27aac00c30b358 (patch) | |
tree | 4141a47fc8157b0fc65f2756561ccda876a039dd /include/linux/net.h | |
parent | 33d7c5e539ba54f12b2628f7ef62ed1a7535956d (diff) | |
download | linux-70e3ba72ba9afd4ec28ab09f6a27aac00c30b358.tar.gz linux-70e3ba72ba9afd4ec28ab09f6a27aac00c30b358.tar.bz2 linux-70e3ba72ba9afd4ec28ab09f6a27aac00c30b358.zip |
net/core: remove duplicate statements by do-while loop
Remove duplicate statements by using do-while loop instead of while loop.
- A;
- while (e) {
+ do {
A;
- }
+ } while (e);
Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com>
Cc: "David S. Miller" <davem@davemloft.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/linux/net.h')
0 files changed, 0 insertions, 0 deletions