Remove spurious NULL checks
[openafs.git] / src / vol / fssync-debug.c
index ddc83fc..e51fcad 100644 (file)
@@ -447,7 +447,7 @@ VolOnline(struct cmd_syndesc * as, void * rock)
     common_prolog(as, &state);
     common_volop_prolog(as, &state);
 
-    if (state.vop->partName==0 || *(state.vop->partName)==0) {
+    if (*(state.vop->partName)==0) {
        fprintf(stderr, "required argument -partition not given\n");
        return -1;
     }