Signed-off-by: wangzhiqiang <wangzhiqiang95@huawei.com> (cherry picked from commit 128a1b9499f62969a190e5d0dc4a13915dff131a)
25 lines
603 B
Diff
25 lines
603 B
Diff
From 7883cf7f2b8f2a37aea78aced53b7a445ec72c3b Mon Sep 17 00:00:00 2001
|
|
From: wangzhiqiang <zhiqiangwang12_4@163.com>
|
|
Date: Fri, 10 Feb 2023 16:48:19 +0000
|
|
Subject: [PATCH 2/2] Update file cryptsetup-ssh.c
|
|
|
|
---
|
|
tokens/ssh/cryptsetup-ssh.c | 1 -
|
|
1 file changed, 1 deletion(-)
|
|
|
|
diff --git a/tokens/ssh/cryptsetup-ssh.c b/tokens/ssh/cryptsetup-ssh.c
|
|
index 87c55d5..0d06000 100644
|
|
--- a/tokens/ssh/cryptsetup-ssh.c
|
|
+++ b/tokens/ssh/cryptsetup-ssh.c
|
|
@@ -76,7 +76,6 @@ static int token_add(
|
|
if (r)
|
|
goto out;
|
|
|
|
- r = -EINVAL;
|
|
jobj = json_object_new_object();
|
|
if (!jobj) {
|
|
r = -ENOMEM;
|
|
--
|
|
2.33.0
|
|
|