[ovs-dev] [PATCH] windows: Remove dead code in daemon-windows

Sairam Venugopal vsairam at vmware.com
Tue Mar 7 09:00:47 UTC 2017


Commit message should probably say - unused code instead of dead code.

Acked-by: Sairam Venugopal <vsairam at vmware.com>







On 2/5/17, 3:49 PM, "ovs-dev-bounces at openvswitch.org on behalf of Alin Serdean" <ovs-dev-bounces at openvswitch.org on behalf of aserdean at cloudbasesolutions.com> wrote:

>Found by inspection.
>
>Signed-off-by: Alin Gabriel Serdean <aserdean at cloudbasesolutions.com>
>---
> lib/daemon-windows.c | 3 +--
> 1 file changed, 1 insertion(+), 2 deletions(-)
>
>diff --git a/lib/daemon-windows.c b/lib/daemon-windows.c
>index 7e2e9da..4fc97a8 100644
>--- a/lib/daemon-windows.c
>+++ b/lib/daemon-windows.c
>@@ -77,8 +77,7 @@ daemon_usage(void)
>         "\nService options:\n"
>         "  --service               run in background as a service.\n"
>         "  --service-monitor       restart the service in case of an "
>-                                   "unexpected failure. \n",
>-        ovs_rundir(), program_name);
>+                                   "unexpected failure. \n");
> }
> 
> /* Registers the call-back and configures the actions in case of a failure
>-- 
>2.10.2.windows.1
>_______________________________________________
>dev mailing list
>dev at openvswitch.org
>https://urldefense.proofpoint.com/v2/url?u=https-3A__mail.openvswitch.org_mailman_listinfo_ovs-2Ddev&d=DwICAg&c=uilaK90D4TOVoH58JNXRgQ&r=Z6vowHUOjP5ysP_g372c49Nqc1vEKqHKNBkR5Q5Z7uo&m=Uxb18p0v_M-Rlapp2oC270tEowSxS9lacSo6a2QNePU&s=tFiprG6rV5uzISIuOGtCx1IX3-DPrk9MmUyjZxiQ15M&e= 


More information about the dev mailing list