]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitb842fae3a83cc6c27fa230fbc6653f5b41a69cd6
tree97164dfb9799a6cf4e1cfeb6c6d35cd0d60efb8f
parenteb268dfe13567bf9c33bd7bca024753ff18adcb2
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