tun: remove unnecessary check in tun_flow_update
authorLi RongQing <lirongqing@baidu.com>
Thu, 6 Dec 2018 08:28:11 +0000 (16:28 +0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 6 Dec 2018 20:15:53 +0000 (12:15 -0800)
commit5c327f673d2f134ac01c068b511c6ab816b4b41c
tree97164dfb9799a6cf4e1cfeb6c6d35cd0d60efb8f
parent83b1bc122cab87547731a154db5feec5b9d4807c
tun: remove unnecessary check in tun_flow_update

caller has guaranted that rxhash is not zero

Signed-off-by: Li RongQing <lirongqing@baidu.com>
Acked-by: Jason Wang <jasowang@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/tun.c