/*
  * decode an AFSFetchStatus block
  */
-static int xdr_decode_AFSFetchStatus(const __be32 **_bp,
-                                    struct afs_call *call,
-                                    struct afs_status_cb *scb)
+static void xdr_decode_AFSFetchStatus(const __be32 **_bp,
+                                     struct afs_call *call,
+                                     struct afs_status_cb *scb)
 {
        const struct afs_xdr_AFSFetchStatus *xdr = (const void *)*_bp;
        struct afs_file_status *status = &scb->status;
        bool inline_error = (call->operation_ID == afs_FS_InlineBulkStatus);
        u64 data_version, size;
        u32 type, abort_code;
-       int ret;
 
        abort_code = ntohl(xdr->abort_code);
 
                         */
                        status->abort_code = abort_code;
                        scb->have_error = true;
-                       goto good;
+                       goto advance;
                }
 
                pr_warn("Unknown AFSFetchStatus version %u\n", ntohl(xdr->if_version));
        if (abort_code != 0 && inline_error) {
                status->abort_code = abort_code;
                scb->have_error = true;
-               goto good;
+               goto advance;
        }
 
        type = ntohl(xdr->type);
        data_version |= (u64)ntohl(xdr->data_version_hi) << 32;
        status->data_version = data_version;
        scb->have_status = true;
-good:
-       ret = 0;
 advance:
        *_bp = (const void *)*_bp + sizeof(*xdr);
-       return ret;
+       return;
 
 bad:
        xdr_dump_bad(*_bp);
-       ret = afs_protocol_error(call, -EBADMSG, afs_eproto_bad_status);
+       afs_protocol_error(call, -EBADMSG, afs_eproto_bad_status);
        goto advance;
 }
 
 
        /* unmarshall the reply once we've received all of it */
        bp = call->buffer;
-       ret = xdr_decode_AFSFetchStatus(&bp, call, call->out_scb);
-       if (ret < 0)
-               return ret;
+       xdr_decode_AFSFetchStatus(&bp, call, call->out_scb);
        xdr_decode_AFSCallBack(&bp, call, call->out_scb);
        xdr_decode_AFSVolSync(&bp, call->out_volsync);
 
                        return ret;
 
                bp = call->buffer;
-               ret = xdr_decode_AFSFetchStatus(&bp, call, call->out_scb);
-               if (ret < 0)
-                       return ret;
+               xdr_decode_AFSFetchStatus(&bp, call, call->out_scb);
                xdr_decode_AFSCallBack(&bp, call, call->out_scb);
                xdr_decode_AFSVolSync(&bp, call->out_volsync);
 
        /* unmarshall the reply once we've received all of it */
        bp = call->buffer;
        xdr_decode_AFSFid(&bp, call->out_fid);
-       ret = xdr_decode_AFSFetchStatus(&bp, call, call->out_scb);
-       if (ret < 0)
-               return ret;
-       ret = xdr_decode_AFSFetchStatus(&bp, call, call->out_dir_scb);
-       if (ret < 0)
-               return ret;
+       xdr_decode_AFSFetchStatus(&bp, call, call->out_scb);
+       xdr_decode_AFSFetchStatus(&bp, call, call->out_dir_scb);
        xdr_decode_AFSCallBack(&bp, call, call->out_scb);
        xdr_decode_AFSVolSync(&bp, call->out_volsync);
 
 
        /* unmarshall the reply once we've received all of it */
        bp = call->buffer;
-       ret = xdr_decode_AFSFetchStatus(&bp, call, call->out_dir_scb);
-       if (ret < 0)
-               return ret;
+       xdr_decode_AFSFetchStatus(&bp, call, call->out_dir_scb);
        xdr_decode_AFSVolSync(&bp, call->out_volsync);
 
        _leave(" = 0 [done]");
 
        /* unmarshall the reply once we've received all of it */
        bp = call->buffer;
-       ret = xdr_decode_AFSFetchStatus(&bp, call, call->out_scb);
-       if (ret < 0)
-               return ret;
-       ret = xdr_decode_AFSFetchStatus(&bp, call, call->out_dir_scb);
-       if (ret < 0)
-               return ret;
+       xdr_decode_AFSFetchStatus(&bp, call, call->out_scb);
+       xdr_decode_AFSFetchStatus(&bp, call, call->out_dir_scb);
        xdr_decode_AFSVolSync(&bp, call->out_volsync);
 
        _leave(" = 0 [done]");
        /* unmarshall the reply once we've received all of it */
        bp = call->buffer;
        xdr_decode_AFSFid(&bp, call->out_fid);
-       ret = xdr_decode_AFSFetchStatus(&bp, call, call->out_scb);
-       if (ret < 0)
-               return ret;
-       ret = xdr_decode_AFSFetchStatus(&bp, call, call->out_dir_scb);
-       if (ret < 0)
-               return ret;
+       xdr_decode_AFSFetchStatus(&bp, call, call->out_scb);
+       xdr_decode_AFSFetchStatus(&bp, call, call->out_dir_scb);
        xdr_decode_AFSVolSync(&bp, call->out_volsync);
 
        _leave(" = 0 [done]");
        if (ret < 0)
                return ret;
 
+       bp = call->buffer;
        /* If the two dirs are the same, we have two copies of the same status
         * report, so we just decode it twice.
         */
-       bp = call->buffer;
-       ret = xdr_decode_AFSFetchStatus(&bp, call, call->out_dir_scb);
-       if (ret < 0)
-               return ret;
-       ret = xdr_decode_AFSFetchStatus(&bp, call, call->out_scb);
-       if (ret < 0)
-               return ret;
+       xdr_decode_AFSFetchStatus(&bp, call, call->out_dir_scb);
+       xdr_decode_AFSFetchStatus(&bp, call, call->out_scb);
        xdr_decode_AFSVolSync(&bp, call->out_volsync);
 
        _leave(" = 0 [done]");
 
        /* unmarshall the reply once we've received all of it */
        bp = call->buffer;
-       ret = xdr_decode_AFSFetchStatus(&bp, call, call->out_scb);
-       if (ret < 0)
-               return ret;
+       xdr_decode_AFSFetchStatus(&bp, call, call->out_scb);
        xdr_decode_AFSVolSync(&bp, call->out_volsync);
 
        _leave(" = 0 [done]");
 
        /* unmarshall the reply once we've received all of it */
        bp = call->buffer;
-       ret = xdr_decode_AFSFetchStatus(&bp, call, call->out_scb);
-       if (ret < 0)
-               return ret;
+       xdr_decode_AFSFetchStatus(&bp, call, call->out_scb);
        xdr_decode_AFSVolSync(&bp, call->out_volsync);
 
        _leave(" = 0 [done]");
 
        /* unmarshall the reply once we've received all of it */
        bp = call->buffer;
-       ret = xdr_decode_AFSFetchStatus(&bp, call, call->out_scb);
-       if (ret < 0)
-               return ret;
+       xdr_decode_AFSFetchStatus(&bp, call, call->out_scb);
        xdr_decode_AFSCallBack(&bp, call, call->out_scb);
        xdr_decode_AFSVolSync(&bp, call->out_volsync);
 
 
                bp = call->buffer;
                scb = &call->out_scb[call->count];
-               ret = xdr_decode_AFSFetchStatus(&bp, call, scb);
-               if (ret < 0)
-                       return ret;
-
+               xdr_decode_AFSFetchStatus(&bp, call, scb);
                call->count++;
                if (call->count < call->count2)
                        goto more_counts;
                        return ret;
 
                bp = call->buffer;
-               ret = xdr_decode_AFSFetchStatus(&bp, call, call->out_scb);
-               if (ret < 0)
-                       return ret;
+               xdr_decode_AFSFetchStatus(&bp, call, call->out_scb);
                xdr_decode_AFSVolSync(&bp, call->out_volsync);
 
                call->unmarshall++;
                return ret;
 
        bp = call->buffer;
-       ret = xdr_decode_AFSFetchStatus(&bp, call, call->out_scb);
-       if (ret < 0)
-               return ret;
+       xdr_decode_AFSFetchStatus(&bp, call, call->out_scb);
        xdr_decode_AFSVolSync(&bp, call->out_volsync);
 
        _leave(" = 0 [done]");
 
 /*
  * Decode a YFSFetchStatus block
  */
-static int xdr_decode_YFSFetchStatus(const __be32 **_bp,
-                                    struct afs_call *call,
-                                    struct afs_status_cb *scb)
+static void xdr_decode_YFSFetchStatus(const __be32 **_bp,
+                                     struct afs_call *call,
+                                     struct afs_status_cb *scb)
 {
        const struct yfs_xdr_YFSFetchStatus *xdr = (const void *)*_bp;
        struct afs_file_status *status = &scb->status;
        u32 type;
-       int ret;
 
        status->abort_code = ntohl(xdr->abort_code);
        if (status->abort_code != 0) {
                if (status->abort_code == VNOVNODE)
                        status->nlink = 0;
                scb->have_error = true;
-               goto good;
+               goto advance;
        }
 
        type = ntohl(xdr->type);
        status->size            = xdr_to_u64(xdr->size);
        status->data_version    = xdr_to_u64(xdr->data_version);
        scb->have_status        = true;
-good:
-       ret = 0;
 advance:
        *_bp += xdr_size(xdr);
-       return ret;
+       return;
 
 bad:
        xdr_dump_bad(*_bp);
-       ret = afs_protocol_error(call, -EBADMSG, afs_eproto_bad_status);
+       afs_protocol_error(call, -EBADMSG, afs_eproto_bad_status);
        goto advance;
 }
 
 
        /* unmarshall the reply once we've received all of it */
        bp = call->buffer;
-       ret = xdr_decode_YFSFetchStatus(&bp, call, call->out_scb);
-       if (ret < 0)
-               return ret;
+       xdr_decode_YFSFetchStatus(&bp, call, call->out_scb);
        xdr_decode_YFSCallBack(&bp, call, call->out_scb);
        xdr_decode_YFSVolSync(&bp, call->out_volsync);
 
                return ret;
 
        bp = call->buffer;
-       ret = xdr_decode_YFSFetchStatus(&bp, call, call->out_scb);
-       if (ret < 0)
-               return ret;
+       xdr_decode_YFSFetchStatus(&bp, call, call->out_scb);
        xdr_decode_YFSVolSync(&bp, call->out_volsync);
 
        _leave(" = 0 [done]");
                        return ret;
 
                bp = call->buffer;
-               ret = xdr_decode_YFSFetchStatus(&bp, call, call->out_scb);
-               if (ret < 0)
-                       return ret;
+               xdr_decode_YFSFetchStatus(&bp, call, call->out_scb);
                xdr_decode_YFSCallBack(&bp, call, call->out_scb);
                xdr_decode_YFSVolSync(&bp, call->out_volsync);
 
        /* unmarshall the reply once we've received all of it */
        bp = call->buffer;
        xdr_decode_YFSFid(&bp, call->out_fid);
-       ret = xdr_decode_YFSFetchStatus(&bp, call, call->out_scb);
-       if (ret < 0)
-               return ret;
-       ret = xdr_decode_YFSFetchStatus(&bp, call, call->out_dir_scb);
-       if (ret < 0)
-               return ret;
+       xdr_decode_YFSFetchStatus(&bp, call, call->out_scb);
+       xdr_decode_YFSFetchStatus(&bp, call, call->out_dir_scb);
        xdr_decode_YFSCallBack(&bp, call, call->out_scb);
        xdr_decode_YFSVolSync(&bp, call->out_volsync);
 
                return ret;
 
        bp = call->buffer;
-       ret = xdr_decode_YFSFetchStatus(&bp, call, call->out_dir_scb);
-       if (ret < 0)
-               return ret;
-
+       xdr_decode_YFSFetchStatus(&bp, call, call->out_dir_scb);
        xdr_decode_YFSFid(&bp, &fid);
-       ret = xdr_decode_YFSFetchStatus(&bp, call, call->out_scb);
-       if (ret < 0)
-               return ret;
+       xdr_decode_YFSFetchStatus(&bp, call, call->out_scb);
        /* Was deleted if vnode->status.abort_code == VNOVNODE. */
 
        xdr_decode_YFSVolSync(&bp, call->out_volsync);
                return ret;
 
        bp = call->buffer;
-       ret = xdr_decode_YFSFetchStatus(&bp, call, call->out_dir_scb);
-       if (ret < 0)
-               return ret;
-
+       xdr_decode_YFSFetchStatus(&bp, call, call->out_dir_scb);
        xdr_decode_YFSVolSync(&bp, call->out_volsync);
        return 0;
 }
                return ret;
 
        bp = call->buffer;
-       ret = xdr_decode_YFSFetchStatus(&bp, call, call->out_scb);
-       if (ret < 0)
-               return ret;
-       ret = xdr_decode_YFSFetchStatus(&bp, call, call->out_dir_scb);
-       if (ret < 0)
-               return ret;
+       xdr_decode_YFSFetchStatus(&bp, call, call->out_scb);
+       xdr_decode_YFSFetchStatus(&bp, call, call->out_dir_scb);
        xdr_decode_YFSVolSync(&bp, call->out_volsync);
        _leave(" = 0 [done]");
        return 0;
        /* unmarshall the reply once we've received all of it */
        bp = call->buffer;
        xdr_decode_YFSFid(&bp, call->out_fid);
-       ret = xdr_decode_YFSFetchStatus(&bp, call, call->out_scb);
-       if (ret < 0)
-               return ret;
-       ret = xdr_decode_YFSFetchStatus(&bp, call, call->out_dir_scb);
-       if (ret < 0)
-               return ret;
+       xdr_decode_YFSFetchStatus(&bp, call, call->out_scb);
+       xdr_decode_YFSFetchStatus(&bp, call, call->out_dir_scb);
        xdr_decode_YFSVolSync(&bp, call->out_volsync);
 
        _leave(" = 0 [done]");
                return ret;
 
        bp = call->buffer;
-       ret = xdr_decode_YFSFetchStatus(&bp, call, call->out_dir_scb);
-       if (ret < 0)
-               return ret;
-       ret = xdr_decode_YFSFetchStatus(&bp, call, call->out_scb);
-       if (ret < 0)
-               return ret;
-
+       /* If the two dirs are the same, we have two copies of the same status
+        * report, so we just decode it twice.
+        */
+       xdr_decode_YFSFetchStatus(&bp, call, call->out_dir_scb);
+       xdr_decode_YFSFetchStatus(&bp, call, call->out_scb);
        xdr_decode_YFSVolSync(&bp, call->out_volsync);
        _leave(" = 0 [done]");
        return 0;
 
                bp = call->buffer;
                scb = &call->out_scb[call->count];
-               ret = xdr_decode_YFSFetchStatus(&bp, call, scb);
-               if (ret < 0)
-                       return ret;
+               xdr_decode_YFSFetchStatus(&bp, call, scb);
 
                call->count++;
                if (call->count < call->count2)
                bp = call->buffer;
                yacl->inherit_flag = ntohl(*bp++);
                yacl->num_cleaned = ntohl(*bp++);
-               ret = xdr_decode_YFSFetchStatus(&bp, call, call->out_scb);
-               if (ret < 0)
-                       return ret;
+               xdr_decode_YFSFetchStatus(&bp, call, call->out_scb);
                xdr_decode_YFSVolSync(&bp, call->out_volsync);
 
                call->unmarshall++;