Skip to content

Commit

Permalink
kmod: Remove unused variables
Browse files Browse the repository at this point in the history
  • Loading branch information
sangjinhan committed Jul 15, 2018
1 parent 0d9fbaf commit c872e76
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions core/kmod/sn_netdev.c
Original file line number Diff line number Diff line change
Expand Up @@ -356,7 +356,6 @@ static int sn_poll_action_batch(struct sn_queue *rx_queue, int budget)

for (i = 0; i < cnt; i++) {
struct sk_buff *skb = skbs[i];
int ret;

if (unlikely(!skb))
continue;
Expand Down Expand Up @@ -399,7 +398,6 @@ static int sn_poll_action_single(struct sn_queue *rx_queue, int budget)
while (poll_cnt < budget) {
struct sk_buff *skb;
struct sn_rx_metadata rx_meta;
int ret;

skb = rx_queue->dev->ops->do_rx(rx_queue, &rx_meta);
if (!skb)
Expand Down

0 comments on commit c872e76

Please sign in to comment.