diff --git a/drivers/net/tun.c b/drivers/net/tun.c index d0745dc819769c1641341aeaf0cc70ad500345ac..6760b86547df18b92bbf54575eadb85232bc963f 100644 --- a/drivers/net/tun.c +++ b/drivers/net/tun.c @@ -529,10 +529,7 @@ static void tun_flow_update(struct tun_struct *tun, u32 rxhash, unsigned long delay = tun->ageing_time; u16 queue_index = tfile->queue_index; - if (!rxhash) - return; - else - head = &tun->flows[tun_hashfn(rxhash)]; + head = &tun->flows[tun_hashfn(rxhash)]; rcu_read_lock();