staging: lustre: remove RETURN macro
[deliverable/linux.git] / drivers / staging / lustre / lustre / mdc / lproc_mdc.c
index 30a8a1b2428dfb518166ea7635fe14e2f473351a..e0b8f18662530e83f8274410e20db3cb0276db57 100644 (file)
@@ -95,10 +95,10 @@ static ssize_t mdc_kuc_write(struct file *file, const char *buffer,
 
        rc = lprocfs_write_helper(buffer, count, &fd);
        if (rc)
-               RETURN(rc);
+               return rc;
 
        if (fd < 0)
-               RETURN(-ERANGE);
+               return -ERANGE;
        CWARN("message to fd %d\n", fd);
 
        len = sizeof(*lh) + sizeof(*hal) + MTI_NAME_MAXLEN +
@@ -139,8 +139,8 @@ static ssize_t mdc_kuc_write(struct file *file, const char *buffer,
        }
        OBD_FREE(lh, len);
        if (rc < 0)
-               RETURN(rc);
-       RETURN(count);
+               return rc;
+       return count;
 }
 
 struct file_operations mdc_kuc_fops = {
This page took 0.038891 seconds and 5 git commands to generate.