You've already forked linux-apfs
mirror of
https://github.com/linux-apfs/linux-apfs.git
synced 2026-05-01 15:00:59 -07:00
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: zhong jiang <zhongjiang@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
committed by
David S. Miller
parent
fb3b467e06
commit
5a0c6cee17
+1
-3
@@ -171,13 +171,11 @@ void v9fs_put_trans(struct p9_trans_module *m)
|
||||
*/
|
||||
static int __init init_p9(void)
|
||||
{
|
||||
int ret = 0;
|
||||
|
||||
p9_error_init();
|
||||
pr_info("Installing 9P2000 support\n");
|
||||
p9_trans_fd_init();
|
||||
|
||||
return ret;
|
||||
return 0;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user