All of lore.kernel.org
 help / color / mirror / Atom feed
* [Ocfs2-devel] [PATCH] ocfs2: clean up unused parameter 'count' in o2hb_read_block_input()
@ 2016-04-15  9:41 piaojun
  2016-04-15  9:46 ` Joseph Qi
  0 siblings, 1 reply; 2+ messages in thread
From: piaojun @ 2016-04-15  9:41 UTC (permalink / raw)
  To: ocfs2-devel

clean up unused parameter 'count' in o2hb_read_block_input().

Signed-off-by: Jun Piao <piaojun@huawei.com>
---
 fs/ocfs2/cluster/heartbeat.c | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/fs/ocfs2/cluster/heartbeat.c b/fs/ocfs2/cluster/heartbeat.c
index bd15929..a5956c4 100644
--- a/fs/ocfs2/cluster/heartbeat.c
+++ b/fs/ocfs2/cluster/heartbeat.c
@@ -1456,7 +1456,6 @@ static void o2hb_region_release(struct config_item *item)
 
 static int o2hb_read_block_input(struct o2hb_region *reg,
 				 const char *page,
-				 size_t count,
 				 unsigned long *ret_bytes,
 				 unsigned int *ret_bits)
 {
@@ -1499,8 +1498,8 @@ static ssize_t o2hb_region_block_bytes_store(struct config_item *item,
 	if (reg->hr_bdev)
 		return -EINVAL;
 
-	status = o2hb_read_block_input(reg, page, count,
-				       &block_bytes, &block_bits);
+	status = o2hb_read_block_input(reg, page, &block_bytes,
+				       &block_bits);
 	if (status)
 		return status;
 
-- 
1.8.4.3

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [Ocfs2-devel] [PATCH] ocfs2: clean up unused parameter 'count' in o2hb_read_block_input()
  2016-04-15  9:41 [Ocfs2-devel] [PATCH] ocfs2: clean up unused parameter 'count' in o2hb_read_block_input() piaojun
@ 2016-04-15  9:46 ` Joseph Qi
  0 siblings, 0 replies; 2+ messages in thread
From: Joseph Qi @ 2016-04-15  9:46 UTC (permalink / raw)
  To: ocfs2-devel

On 2016/4/15 17:41, piaojun wrote:
> clean up unused parameter 'count' in o2hb_read_block_input().
> 
> Signed-off-by: Jun Piao <piaojun@huawei.com>
Reviewed-by: Joseph Qi <joseph.qi@huawei.com>

> ---
>  fs/ocfs2/cluster/heartbeat.c | 5 ++---
>  1 file changed, 2 insertions(+), 3 deletions(-)
> 
> diff --git a/fs/ocfs2/cluster/heartbeat.c b/fs/ocfs2/cluster/heartbeat.c
> index bd15929..a5956c4 100644
> --- a/fs/ocfs2/cluster/heartbeat.c
> +++ b/fs/ocfs2/cluster/heartbeat.c
> @@ -1456,7 +1456,6 @@ static void o2hb_region_release(struct config_item *item)
>  
>  static int o2hb_read_block_input(struct o2hb_region *reg,
>  				 const char *page,
> -				 size_t count,
>  				 unsigned long *ret_bytes,
>  				 unsigned int *ret_bits)
>  {
> @@ -1499,8 +1498,8 @@ static ssize_t o2hb_region_block_bytes_store(struct config_item *item,
>  	if (reg->hr_bdev)
>  		return -EINVAL;
>  
> -	status = o2hb_read_block_input(reg, page, count,
> -				       &block_bytes, &block_bits);
> +	status = o2hb_read_block_input(reg, page, &block_bytes,
> +				       &block_bits);
>  	if (status)
>  		return status;
>  
> 

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-04-15  9:46 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-04-15  9:41 [Ocfs2-devel] [PATCH] ocfs2: clean up unused parameter 'count' in o2hb_read_block_input() piaojun
2016-04-15  9:46 ` Joseph Qi

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.