Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1434246

[PATCH] tun: fix semicolon.cocci warnings

From kbuild test robot <lkp@intel.com>
Newsgroups linux.kernel
Subject [PATCH] tun: fix semicolon.cocci warnings
Date 2016-06-30 08:30 +0200
Message-ID <rPDE6-67b-29@gated-at.bofh.it> (permalink)
References <rPDE5-67b-3@gated-at.bofh.it> <rPBiV-4y7-13@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


drivers/net/tun.c:1476:2-3: Unneeded semicolon


 Remove unneeded semicolon.

Generated by: scripts/coccinelle/misc/semicolon.cocci

CC: Jason Wang <jasowang@redhat.com>
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
---

 tun.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- a/drivers/net/tun.c
+++ b/drivers/net/tun.c
@@ -1473,7 +1473,7 @@ static struct sk_buff *tun_ring_recv(str
 		}
 
 		schedule();
-	};
+	}
 
 	current->state = TASK_RUNNING;
 	remove_wait_queue(&tfile->wq.wait, &wait);

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH net-next V3 6/6] tun: switch to use skb array for tx Jason Wang <jasowang@redhat.com> - 2016-06-30 06:00 +0200
  Re: [PATCH net-next V3 6/6] tun: switch to use skb array for tx kbuild test robot <lkp@intel.com> - 2016-06-30 08:30 +0200
  [PATCH] tun: fix semicolon.cocci warnings kbuild test robot <lkp@intel.com> - 2016-06-30 08:30 +0200

csiph-web