diff mbox series

[ovs-dev] dpif-netdev.c : dpif parameter is used, need to remove OVS_UNUSED

Message ID MEYP282MB3302CA0C121EB8A222083900CDC19@MEYP282MB3302.AUSP282.PROD.OUTLOOK.COM
State Superseded
Headers show
Series [ovs-dev] dpif-netdev.c : dpif parameter is used, need to remove OVS_UNUSED | expand

Checks

Context Check Description
ovsrobot/apply-robot success apply and check: success
ovsrobot/github-robot-_Build_and_Test success github build: passed

Commit Message

lin huang Aug. 20, 2021, 2:46 p.m. UTC
From: linhuang <linhuang@ruijie.com.cn>

Dpif parameter is used.So we need to remove OVS_UNUSED flag.

Signed-off-by: linhuang <linhuang@ruijie.com.cn>
---
 lib/dpif-netdev.c | 18 +++++++++---------
 1 file changed, 9 insertions(+), 9 deletions(-)

--
2.12.2
diff mbox series

Patch

diff --git a/lib/dpif-netdev.c b/lib/dpif-netdev.c
index b3e57bb95..1708a5f9e 100644
--- a/lib/dpif-netdev.c
+++ b/lib/dpif-netdev.c
@@ -8418,9 +8418,9 @@  dpif_netdev_ct_get_tcp_seq_chk(struct dpif *dpif, bool *enabled)
 }

 static int
-dpif_netdev_ct_set_limits(struct dpif *dpif OVS_UNUSED,
-                           const uint32_t *default_limits,
-                           const struct ovs_list *zone_limits)
+dpif_netdev_ct_set_limits(struct dpif *dpif,
+                          const uint32_t *default_limits,
+                          const struct ovs_list *zone_limits)
 {
     int err = 0;
     struct dp_netdev *dp = get_dp_netdev(dpif);
@@ -8443,10 +8443,10 @@  dpif_netdev_ct_set_limits(struct dpif *dpif OVS_UNUSED,
 }

 static int
-dpif_netdev_ct_get_limits(struct dpif *dpif OVS_UNUSED,
-                           uint32_t *default_limit,
-                           const struct ovs_list *zone_limits_request,
-                           struct ovs_list *zone_limits_reply)
+dpif_netdev_ct_get_limits(struct dpif *dpif,
+                          uint32_t *default_limit,
+                          const struct ovs_list *zone_limits_request,
+                          struct ovs_list *zone_limits_reply)
 {
     struct dp_netdev *dp = get_dp_netdev(dpif);
     struct conntrack_zone_limit czl;
@@ -8483,8 +8483,8 @@  dpif_netdev_ct_get_limits(struct dpif *dpif OVS_UNUSED,
 }

 static int
-dpif_netdev_ct_del_limits(struct dpif *dpif OVS_UNUSED,
-                           const struct ovs_list *zone_limits)
+dpif_netdev_ct_del_limits(struct dpif *dpif,
+                          const struct ovs_list *zone_limits)
 {
     int err = 0;
     struct dp_netdev *dp = get_dp_netdev(dpif);