s4:torture:raw:notify: remove superfluous conditional goto
authorMichael Adam <obnox@samba.org>
Thu, 26 Mar 2015 18:36:52 +0000 (19:36 +0100)
committerGünther Deschner <gd@samba.org>
Mon, 30 Mar 2015 11:41:26 +0000 (13:41 +0200)
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Guenther Deschner <gd@samba.org>
source4/torture/raw/notify.c

index 80de189521ee83e73ad0552088ba9d4d6d7fe401..023ce5c8e1b94988bb16eab87d50a8d3e30f9d18 100644 (file)
@@ -675,10 +675,6 @@ static bool test_notify_mask_change(struct torture_context *mem_ctx,
        CHECK_WSTR(mem_ctx, notify.nttrans.out.changes[0].name, "subname3-r",
                   STR_UNICODE);
 
        CHECK_WSTR(mem_ctx, notify.nttrans.out.changes[0].name, "subname3-r",
                   STR_UNICODE);
 
-       if (!ret) {
-               goto done;
-       }
-
 done:
        smb_raw_exit(cli->session);
        smbcli_deltree(cli->tree, BASEDIR);
 done:
        smb_raw_exit(cli->session);
        smbcli_deltree(cli->tree, BASEDIR);