diff mbox

xfs: Remove obsolete declaration of xfs_buf_get_empty

Message ID 1490644909-30636-1-git-send-email-nborisov@suse.com (mailing list archive)
State Accepted, archived
Headers show

Commit Message

Nikolay Borisov March 27, 2017, 8:01 p.m. UTC
This function has been removed ever since at least 3.12-era. No need to
keep its declaration in the header so nuke it.

Signed-off-by: Nikolay Borisov <nborisov@suse.com>
---
 fs/xfs/xfs_buf.h | 1 -
 1 file changed, 1 deletion(-)

Comments

Darrick J. Wong March 27, 2017, 8:05 p.m. UTC | #1
On Mon, Mar 27, 2017 at 11:01:49PM +0300, Nikolay Borisov wrote:
> This function has been removed ever since at least 3.12-era. No need to
> keep its declaration in the header so nuke it.
> 
> Signed-off-by: Nikolay Borisov <nborisov@suse.com>

Looks ok,
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>

Will queue this for 4.12.

--D

> ---
>  fs/xfs/xfs_buf.h | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/fs/xfs/xfs_buf.h b/fs/xfs/xfs_buf.h
> index 3c867e5a63e1..e1bc1af743fa 100644
> --- a/fs/xfs/xfs_buf.h
> +++ b/fs/xfs/xfs_buf.h
> @@ -291,7 +291,6 @@ xfs_buf_readahead(
>  	return xfs_buf_readahead_map(target, &map, 1, ops);
>  }
>  
> -struct xfs_buf *xfs_buf_get_empty(struct xfs_buftarg *target, size_t numblks);
>  void xfs_buf_set_empty(struct xfs_buf *bp, size_t numblks);
>  int xfs_buf_associate_memory(struct xfs_buf *bp, void *mem, size_t length);
>  
> -- 
> 2.7.4
> 
--
To unsubscribe from this list: send the line "unsubscribe linux-xfs" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/fs/xfs/xfs_buf.h b/fs/xfs/xfs_buf.h
index 3c867e5a63e1..e1bc1af743fa 100644
--- a/fs/xfs/xfs_buf.h
+++ b/fs/xfs/xfs_buf.h
@@ -291,7 +291,6 @@  xfs_buf_readahead(
 	return xfs_buf_readahead_map(target, &map, 1, ops);
 }
 
-struct xfs_buf *xfs_buf_get_empty(struct xfs_buftarg *target, size_t numblks);
 void xfs_buf_set_empty(struct xfs_buf *bp, size_t numblks);
 int xfs_buf_associate_memory(struct xfs_buf *bp, void *mem, size_t length);