lib-remove-redundant-assignment-to-variable-num.patch removed from -mm tree
The quilt patch titled
Subject: lib/oid_registry.c: remove redundant assignment to variable num
has been removed from the -mm tree. Its filename was
lib-remove-redundant-assignment-to-variable-num.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: Colin Ian King <[email protected]>
Subject: lib/oid_registry.c: remove redundant assignment to variable num
Date: Mon, 17 Oct 2022 22:45:56 +0100
The variable num is being assigned a value that is never read, it is being re-assigned a new value in both paths if an if-statement. The assignment is redundant and can be removed.
Cleans up clang scan build warning:lib/oid_registry.c:149:3: warning: Value stored to 'num' is never read [deadcode.DeadStores]
---
lib/oid_registry.c | 1 - 1 file changed, 1 deletion(-)
lib/oid_registry.c renamed from lib/oid_registry.c~lib-remove-redundant-assignment-to-variable-num +0 -1
@@ -146,7 +146,6 @@ int sprint_oid(const void *data, size_t bufsize -= count;while (v < end) { - num =0 ; n = *v++;if (!(n &0x80 )) { num = n;
_
Patches currently in -mm which might be from [email protected] are