Message ID | 1549609355-11053-5-git-send-email-anand.jain@oracle.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | Misc props.c cleanups | expand |
On 8.02.19 г. 9:02 ч., Anand Jain wrote: > Drop forward declaration of the functions, > prop_compression_validate(), prop_compression_apply() and > prop_compression_extract(). > > Signed-off-by: Anand Jain <anand.jain@oracle.com> Reviewed-by: Nikolay Borisov <nborisov@suse.com> > --- > fs/btrfs/props.c | 6 ------ > 1 file changed, 6 deletions(-) > > diff --git a/fs/btrfs/props.c b/fs/btrfs/props.c > index 6f52e3d21012..77a03076b18e 100644 > --- a/fs/btrfs/props.c > +++ b/fs/btrfs/props.c > @@ -23,12 +23,6 @@ struct prop_handler { > int inheritable; > }; > > -static int prop_compression_validate(const char *value, size_t len); > -static int prop_compression_apply(struct inode *inode, > - const char *value, > - size_t len); > -static const char *prop_compression_extract(struct inode *inode); > - > static const struct hlist_head *find_prop_handlers_by_hash(const u64 hash) > { > struct hlist_head *h; >
diff --git a/fs/btrfs/props.c b/fs/btrfs/props.c index 6f52e3d21012..77a03076b18e 100644 --- a/fs/btrfs/props.c +++ b/fs/btrfs/props.c @@ -23,12 +23,6 @@ struct prop_handler { int inheritable; }; -static int prop_compression_validate(const char *value, size_t len); -static int prop_compression_apply(struct inode *inode, - const char *value, - size_t len); -static const char *prop_compression_extract(struct inode *inode); - static const struct hlist_head *find_prop_handlers_by_hash(const u64 hash) { struct hlist_head *h;
Drop forward declaration of the functions, prop_compression_validate(), prop_compression_apply() and prop_compression_extract(). Signed-off-by: Anand Jain <anand.jain@oracle.com> --- fs/btrfs/props.c | 6 ------ 1 file changed, 6 deletions(-)