staging: lustre: remove ll_mrf_ret
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 1 Oct 2013 03:14:42 +0000 (20:14 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 1 Oct 2013 03:14:42 +0000 (20:14 -0700)
It's just 'void' and only used in one place, so just remove it, it's
useless.

Cc: Peng Tao <tao.peng@emc.com>
Cc: Zhao Hongjiang <zhaohongjiang@huawei.com>
Cc: Andreas Dilger <andreas.dilger@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/lustre/lustre/include/linux/lustre_compat25.h
drivers/staging/lustre/lustre/llite/lloop.c

index 9243dfab43d393f360a0f78c7dd7b8677455676f..1644d40b26823968c8000357f057016adaf50d45 100644 (file)
@@ -232,7 +232,6 @@ static inline int ll_namei_to_lookup_intent_flag(int flag)
        return flag;
 }
 
-# define ll_mrf_ret void
 # define LL_MRF_RETURN(rc)
 
 #include <linux/fs.h>
index 2340458b8a04e6bcba5935e32ea9aad6a7e28861..66ed25e0efa8c897a05eb1708641ec41c14866f5 100644 (file)
@@ -337,8 +337,7 @@ static unsigned int loop_get_bio(struct lloop_device *lo, struct bio **req)
        return count;
 }
 
-static ll_mrf_ret
-loop_make_request(struct request_queue *q, struct bio *old_bio)
+static void loop_make_request(struct request_queue *q, struct bio *old_bio)
 {
        struct lloop_device *lo = q->queuedata;
        int rw = bio_rw(old_bio);