summaryrefslogtreecommitdiffstats
path: root/0001-core-memory-remove-redundant-assignments-to-variable.patch
diff options
context:
space:
mode:
authorJustin M. Forbes <jforbes@fedoraproject.org>2020-06-03 13:47:28 -0500
committerJustin M. Forbes <jforbes@fedoraproject.org>2020-06-03 13:47:28 -0500
commit95dc4cf28c756d993d2080a495935006100a62a2 (patch)
treeaf11132f73d16ba11373f61a12eb6b1c9c8f4d69 /0001-core-memory-remove-redundant-assignments-to-variable.patch
parent49d6a971ac73ed6e56c93207c43272f54630d01b (diff)
downloadkernel-95dc4cf28c756d993d2080a495935006100a62a2.tar.gz
kernel-95dc4cf28c756d993d2080a495935006100a62a2.tar.xz
kernel-95dc4cf28c756d993d2080a495935006100a62a2.zip
kernel-5.8.0-0.rc0.20200603gitd6f9469a03d8.1
* Wed Jun 03 2020 CKI@GitLab <cki-project@redhat.com> [5.8.0-0.rc0.20200603gitd6f9469a03d8.1] - d6f9469a03d8 rebase - Fix configs for Fedora ("Justin M. Forbes") - Fix update_scripts.sh unselective pattern sub (David Howells) - Updated changelog for the release based on b0c3ba31be3e ("CKI@GitLab") - Drop the static path configuration for the Sphinx docs (Jeremy Cline) - Sign off generated configuration patches (Jeremy Cline) - Use __make macro instead of make (Tom Stellard) - redhat/configs: Enable CONFIG_SMC91X and disable CONFIG_SMC911X (Prarit Bhargava) [http://bugzilla.redhat.com/1722136] Resolves: rhbz# Signed-off-by: Justin M. Forbes <jforbes@fedoraproject.org>
Diffstat (limited to '0001-core-memory-remove-redundant-assignments-to-variable.patch')
-rw-r--r--0001-core-memory-remove-redundant-assignments-to-variable.patch32
1 files changed, 0 insertions, 32 deletions
diff --git a/0001-core-memory-remove-redundant-assignments-to-variable.patch b/0001-core-memory-remove-redundant-assignments-to-variable.patch
deleted file mode 100644
index d490d68d2..000000000
--- a/0001-core-memory-remove-redundant-assignments-to-variable.patch
+++ /dev/null
@@ -1,32 +0,0 @@
-From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
-From: Colin Ian King <colin.king@canonical.com>
-Date: Sat, 29 Feb 2020 00:53:07 +0000
-Subject: [PATCH] core/memory: remove redundant assignments to variable ret
-
-The variable ret is being initialized with a value that is never
-read and it is being updated later with a new value. The initialization
-is redundant and can be removed.
-
-Addresses-Coverity: ("Unused value")
-Signed-off-by: Colin Ian King <colin.king@canonical.com>
-Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
----
- drivers/gpu/drm/nouveau/nvkm/core/memory.c | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/drivers/gpu/drm/nouveau/nvkm/core/memory.c b/drivers/gpu/drm/nouveau/nvkm/core/memory.c
-index 4cc186262d34..38130ef272d6 100644
---- a/drivers/gpu/drm/nouveau/nvkm/core/memory.c
-+++ b/drivers/gpu/drm/nouveau/nvkm/core/memory.c
-@@ -140,7 +140,7 @@ nvkm_memory_new(struct nvkm_device *device, enum nvkm_memory_target target,
- {
- struct nvkm_instmem *imem = device->imem;
- struct nvkm_memory *memory;
-- int ret = -ENOSYS;
-+ int ret;
-
- if (unlikely(target != NVKM_MEM_TARGET_INST || !imem))
- return -ENOSYS;
---
-2.26.2
-