s4:torture:raw:notify: remove superfluous conditional goto
[sfrench/samba-autobuild/.git] / 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);
 
-       if (!ret) {
-               goto done;
-       }
-
 done:
        smb_raw_exit(cli->session);
        smbcli_deltree(cli->tree, BASEDIR);