summaryrefslogtreecommitdiff
path: root/net/packet
diff options
context:
space:
mode:
authorzhong jiang <zhongjiang@huawei.com>2018-08-04 19:41:41 +0800
committerDavid S. Miller <davem@davemloft.net>2018-08-04 13:05:39 -0700
commit07d53ae4fbdf7458f4d51249aa24d75c76fe52a8 (patch)
treea562c5234dc209c7b4155565f4550dbbe6e55ff6 /net/packet
parenta01512b14d4faa9f6f7501201d7033216d2e563a (diff)
downloadlinux-07d53ae4fbdf7458f4d51249aa24d75c76fe52a8.tar.gz
net: Remove some unneeded semicolon
These semicolons are not needed. Just remove them. Signed-off-by: zhong jiang <zhongjiang@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/packet')
-rw-r--r--net/packet/af_packet.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/packet/af_packet.c b/net/packet/af_packet.c
index e3e00d3a972e..345e38058ae5 100644
--- a/net/packet/af_packet.c
+++ b/net/packet/af_packet.c
@@ -1582,7 +1582,7 @@ static int fanout_set_data(struct packet_sock *po, char __user *data,
return fanout_set_data_ebpf(po, data, len);
default:
return -EINVAL;
- };
+ }
}
static void fanout_release_data(struct packet_fanout *f)
@@ -1591,7 +1591,7 @@ static void fanout_release_data(struct packet_fanout *f)
case PACKET_FANOUT_CBPF:
case PACKET_FANOUT_EBPF:
__fanout_set_data_bpf(f, NULL);
- };
+ }
}
static bool __fanout_id_is_free(struct sock *sk, u16 candidate_id)