]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
user_namespace: remove unnecessary NULL values from kbuf
authorLi zeming <zeming@nfschina.com>
Mon, 15 Jan 2024 06:25:19 +0000 (14:25 +0800)
committerAndrew Morton <akpm@linux-foundation.org>
Thu, 22 Feb 2024 23:38:52 +0000 (15:38 -0800)
commit6db9d317833dd89d666ca0373c7b60f413bca9eb
tree70c7e2bc3d0b7dd44bcb9b89f14b4394bbe27911
parentf9436a5d0497f759330d07e1189565edd4456be8
user_namespace: remove unnecessary NULL values from kbuf

kbuf is assigned first, so it does not need to initialize the assignment.

Link: https://lkml.kernel.org/r/20240115062519.31298-1-zeming@nfschina.com
Signed-off-by: Li zeming <zeming@nfschina.com>
Cc: Randy Dunlap <rdunlap@infradead.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
kernel/user_namespace.c