diff mbox series

fs/ceph: don't return a value from void function

Message ID 20190802010658.18150-1-jhubbard@nvidia.com (mailing list archive)
State New, archived
Headers show
Series fs/ceph: don't return a value from void function | expand

Commit Message

john.hubbard@gmail.com Aug. 2, 2019, 1:06 a.m. UTC
From: John Hubbard <jhubbard@nvidia.com>

This fixes a build warning to that effect.

Signed-off-by: John Hubbard <jhubbard@nvidia.com>
---

Hi,

I ran into this while working on unrelated changes, to
convert ceph over to put_user_page().

This patch is against the latest linux.git.

thanks,
John Hubbard
NVIDIA


 fs/ceph/debugfs.c | 1 -
 1 file changed, 1 deletion(-)

Comments

Jeff Layton Aug. 2, 2019, 4:32 p.m. UTC | #1
On Thu, 2019-08-01 at 18:06 -0700, john.hubbard@gmail.com wrote:
> From: John Hubbard <jhubbard@nvidia.com>
> 
> This fixes a build warning to that effect.
> 
> Signed-off-by: John Hubbard <jhubbard@nvidia.com>
> ---
> 
> Hi,
> 
> I ran into this while working on unrelated changes, to
> convert ceph over to put_user_page().
> 
> This patch is against the latest linux.git.
> 
> thanks,
> John Hubbard
> NVIDIA
> 
> 
>  fs/ceph/debugfs.c | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/fs/ceph/debugfs.c b/fs/ceph/debugfs.c
> index 2eb88ed22993..facb387c2735 100644
> --- a/fs/ceph/debugfs.c
> +++ b/fs/ceph/debugfs.c
> @@ -294,7 +294,6 @@ void ceph_fs_debugfs_init(struct ceph_fs_client *fsc)
>  
>  void ceph_fs_debugfs_init(struct ceph_fs_client *fsc)
>  {
> -	return 0;
>  }
>  
>  void ceph_fs_debugfs_cleanup(struct ceph_fs_client *fsc)

Thanks. Merged into ceph-client/testing branch, we'll see about getting
this to Linus before v5.3 ships.
diff mbox series

Patch

diff --git a/fs/ceph/debugfs.c b/fs/ceph/debugfs.c
index 2eb88ed22993..facb387c2735 100644
--- a/fs/ceph/debugfs.c
+++ b/fs/ceph/debugfs.c
@@ -294,7 +294,6 @@  void ceph_fs_debugfs_init(struct ceph_fs_client *fsc)
 
 void ceph_fs_debugfs_init(struct ceph_fs_client *fsc)
 {
-	return 0;
 }
 
 void ceph_fs_debugfs_cleanup(struct ceph_fs_client *fsc)