The local max_background variable was declared with a duplicated
assignment (max_background = max_background = arg->max_background).
Remove the redundant assignment.
Signed-off-by: Li Wang <liwang@kylinos.cn>
---
fs/fuse/inode.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/fs/fuse/inode.c b/fs/fuse/inode.c
index 0897f8e62b4d..c3689f4f7beb 100644
--- a/fs/fuse/inode.c
+++ b/fs/fuse/inode.c
@@ -1246,7 +1246,7 @@ static void process_init_limits(struct fuse_conn *fc, struct fuse_init_out *arg)
sanitize_global_limit(&max_user_congthresh);
if (arg->max_background) {
- unsigned int max_background = max_background = arg->max_background;
+ unsigned int max_background = arg->max_background;
if (!cap_sys_admin && max_background > max_user_bgreq)
max_background = max_user_bgreq;
--
2.34.1