Skip to content
Snippets Groups Projects
Commit 5a0c6cee authored by zhong jiang's avatar zhong jiang Committed by David S. Miller
Browse files

net:mod: remove unneeded variable 'ret' in init_p9


The ret is modified after initalization, so just remove it and
return 0.

Signed-off-by: default avatarzhong jiang <zhongjiang@huawei.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent fb3b467e
No related branches found
No related tags found
No related merge requests found
...@@ -171,13 +171,11 @@ void v9fs_put_trans(struct p9_trans_module *m) ...@@ -171,13 +171,11 @@ void v9fs_put_trans(struct p9_trans_module *m)
*/ */
static int __init init_p9(void) static int __init init_p9(void)
{ {
int ret = 0;
p9_error_init(); p9_error_init();
pr_info("Installing 9P2000 support\n"); pr_info("Installing 9P2000 support\n");
p9_trans_fd_init(); p9_trans_fd_init();
return ret; return 0;
} }
/** /**
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment