diff mbox series

[ovs-dev] pinctrl: del redundant row.

Message ID 20220715060309.508139-1-wangchuanlei@inspur.com
State Accepted
Headers show
Series [ovs-dev] pinctrl: del redundant row. | expand

Commit Message

wangchuanlei July 15, 2022, 6:03 a.m. UTC
The row of code is useless, need to be deleted.

Signed-off-by: wangchuanlei <wangchuanlei@inspur.com>
---
 controller/pinctrl.c | 1 -
 1 file changed, 1 deletion(-)

Comments

Numan Siddique July 19, 2022, 5:24 p.m. UTC | #1
On Fri, Jul 15, 2022 at 8:33 AM wangchuanlei <wangchuanlei@inspur.com> wrote:
>
> The row of code is useless, need to be deleted.
>
> Signed-off-by: wangchuanlei <wangchuanlei@inspur.com>

Thanks.  I applied this patch to the main branch.

Numan

> ---
>  controller/pinctrl.c | 1 -
>  1 file changed, 1 deletion(-)
>
> diff --git a/controller/pinctrl.c b/controller/pinctrl.c
> index f954362b7..80ae9f01d 100644
> --- a/controller/pinctrl.c
> +++ b/controller/pinctrl.c
> @@ -7527,7 +7527,6 @@ svc_monitors_run(struct rconn *swconn,
>                  svc_mon->next_send_time = current_time + svc_mon->interval;
>                  next_run_time = svc_mon->next_send_time;
>              } else {
> -                next_run_time = svc_mon->wait_time - current_time;
>                  next_run_time = svc_mon->wait_time;
>              }
>              break;
> --
> 2.27.0
>
> _______________________________________________
> dev mailing list
> dev@openvswitch.org
> https://mail.openvswitch.org/mailman/listinfo/ovs-dev
>
diff mbox series

Patch

diff --git a/controller/pinctrl.c b/controller/pinctrl.c
index f954362b7..80ae9f01d 100644
--- a/controller/pinctrl.c
+++ b/controller/pinctrl.c
@@ -7527,7 +7527,6 @@  svc_monitors_run(struct rconn *swconn,
                 svc_mon->next_send_time = current_time + svc_mon->interval;
                 next_run_time = svc_mon->next_send_time;
             } else {
-                next_run_time = svc_mon->wait_time - current_time;
                 next_run_time = svc_mon->wait_time;
             }
             break;