summaryrefslogtreecommitdiff
path: root/drivers/gpio/gpio-zx.c
diff options
context:
space:
mode:
authorTonghao Zhang <xiangxia.m.yue@gmail.com>2020-09-01 15:26:13 +0300
committerDavid S. Miller <davem@davemloft.net>2020-09-01 21:42:15 +0300
commitdf68d64ee3f54556aca1d50607e57b3129949a42 (patch)
tree5fc31764156c18d02197c675677cfbe1d680f5ea /drivers/gpio/gpio-zx.c
parentcf3266ad482d1bce2c49b6cd856a3f2d46f65023 (diff)
downloadlinux-df68d64ee3f54556aca1d50607e57b3129949a42.tar.xz
net: openvswitch: refactor flow free function
Decrease table->count and ufid_count unconditionally, because we only don't use count or ufid_count to count when flushing the flows. To simplify the codes, we remove the "count" argument of table_instance_flow_free. To avoid a bug when deleting flows in the future, add WARN_ON in flush flows function. Cc: Pravin B Shelar <pshelar@ovn.org> Signed-off-by: Tonghao Zhang <xiangxia.m.yue@gmail.com> Acked-by: Pravin B Shelar <pshelar@ovn.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/gpio/gpio-zx.c')
0 files changed, 0 insertions, 0 deletions