Commit 8111e432 authored by Oleg Drokin's avatar Oleg Drokin Committed by Greg Kroah-Hartman

staging/lustre/fld: Remove useless typedefs

Typedefs fld_hash_func_t and fld_scan_func_t are used exectly once in
the following structure so don't really help anything at all.
Signed-off-by: default avatarOleg Drokin <green@linuxhacker.ru>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 3818b4c8
......@@ -58,15 +58,10 @@ struct fld_stats {
__u64 fst_inflight;
};
typedef int (*fld_hash_func_t) (struct lu_client_fld *, __u64);
typedef struct lu_fld_target *
(*fld_scan_func_t) (struct lu_client_fld *, __u64);
struct lu_fld_hash {
const char *fh_name;
fld_hash_func_t fh_hash_func;
fld_scan_func_t fh_scan_func;
int (*fh_hash_func)(struct lu_client_fld *, __u64);
struct lu_fld_target *(*fh_scan_func)(struct lu_client_fld *, __u64);
};
struct fld_cache_entry {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment