staging: lustre: remove RETURN macro
[deliverable/linux.git] / drivers / staging / lustre / lustre / mdc / lproc_mdc.c
index 6592478e9b6df9797f23ee59a6bec59071f2fe8f..e0b8f18662530e83f8274410e20db3cb0276db57 100644 (file)
@@ -35,7 +35,6 @@
  */
 #define DEBUG_SUBSYSTEM S_CLASS
 
-#include <linux/version.h>
 #include <linux/vfs.h>
 #include <obd_class.h>
 #include <lprocfs_status.h>
@@ -93,14 +92,13 @@ static ssize_t mdc_kuc_write(struct file *file, const char *buffer,
        struct hsm_action_item  *hai;
        int                      len;
        int                      fd, rc;
-       ENTRY;
 
        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 +
@@ -141,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.026756 seconds and 5 git commands to generate.