Skip to contentSkip to conversation

kernel-relay-remove-unnecessary-null-values-from-relay_open_buf.patch removed from -mm tree

merged mm-nonmm-stable Andrew Morton 1 participant 1 message Aug 12, 2023

lore
Share & tools
lore

Andrew Morton

author tree notice Applied
#0 lore raw

The quilt patch titled
Subject: kernel: relay: remove unnecessary NULL values from relay_open_buf
has been removed from the -mm tree. Its filename was
kernel-relay-remove-unnecessary-null-values-from-relay_open_buf.patch

This patch was dropped because it was merged into the mm-nonmm-stable branch of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm

------------------------------------------------------
From: Li kunyu <[email protected]>
Subject: kernel: relay: remove unnecessary NULL values from relay_open_buf
Date: Fri, 14 Jul 2023 07:44:59 +0800

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

---

 kernel/relay.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
kernel/relay.c renamed from kernel/relay.c~kernel-relay-remove-unnecessary-null-values-from-relay_open_buf +1 -1
@@ -375,7 +375,7 @@ static struct dentry *relay_create_buf_f
  */
 static struct rchan_buf *relay_open_buf(struct rchan *chan, unsigned int cpu)
 {
- 	struct rchan_buf *buf = NULL;
+	struct rchan_buf *buf;
 	struct dentry *dentry;
 
  	if (chan->is_global)

_

Patches currently in -mm which might be from [email protected] are