From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by dpdk.space (Postfix) with ESMTP id E5535A0471 for ; Mon, 17 Jun 2019 11:27:05 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id B0A6E1BEB6; Mon, 17 Jun 2019 11:27:05 +0200 (CEST) Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by dpdk.org (Postfix) with ESMTP id 8B2BC1BEB2; Mon, 17 Jun 2019 11:27:01 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga007.jf.intel.com ([10.7.209.58]) by fmsmga104.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 17 Jun 2019 02:27:00 -0700 X-ExtLoop1: 1 Received: from irsmsx101.ger.corp.intel.com ([163.33.3.153]) by orsmga007.jf.intel.com with ESMTP; 17 Jun 2019 02:26:59 -0700 Received: from irsmsx104.ger.corp.intel.com ([169.254.5.143]) by IRSMSX101.ger.corp.intel.com ([169.254.1.80]) with mapi id 14.03.0439.000; Mon, 17 Jun 2019 10:26:58 +0100 From: "Kovacevic, Marko" To: "Zhang, Roy Fan" , "dev@dpdk.org" CC: "maxime.coquelin@redhat.com" , "Zhang, Roy Fan" , "stable@dpdk.org" Thread-Topic: [dpdk-dev] [PATCH] examples/vhost_crypto: fix unchecked return value Thread-Index: AQHVCzuHZrHBJzNrpEaVS4kVOA9uyKafxi+g Date: Mon, 17 Jun 2019 09:26:58 +0000 Message-ID: <6DC05C7C5F25994B81B3F2F214251F66020F7166@IRSMSX104.ger.corp.intel.com> References: <20190515162548.71498-1-roy.fan.zhang@intel.com> In-Reply-To: <20190515162548.71498-1-roy.fan.zhang@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-version: 11.2.0.6 dlp-reaction: no-action x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiNGM4OThlMDEtNWQwNy00ZDFhLTkxZDgtMGQxZWRmNTI3MTQ2IiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoiVUlEcStOK1JVVlwvT0d1VnVDeitDQ3FxckZ1QmIxaEhkc1BzeHN0UkRJaFcwcGcyMWpIcTA4Sld0SjdTSXk3MzgifQ== x-ctpclassification: CTP_NT x-originating-ip: [163.33.239.182] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-stable] [dpdk-dev] [PATCH] examples/vhost_crypto: fix unchecked return value X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org Sender: "stable" > Subject: [dpdk-dev] [PATCH] examples/vhost_crypto: fix unchecked return > value >=20 > This patch tries to fix the coverity issue of unchecked return value. Sin= ce the > function that causes the problem is unused, it is removed completely. >=20 > Coverity issue: 336816 > Fixes: f5188211c721 ("examples/vhost_crypto: add sample application") > Cc: stable@dpdk.org >=20 > Signed-off-by: Fan Zhang > --- > examples/vhost_crypto/main.c | 6 ------ > 1 file changed, 6 deletions(-) >=20 > diff --git a/examples/vhost_crypto/main.c b/examples/vhost_crypto/main.c > index ac7118e7e..cfb9dfda2 100644 > --- a/examples/vhost_crypto/main.c > +++ b/examples/vhost_crypto/main.c > @@ -354,12 +354,6 @@ static const struct vhost_device_ops > virtio_crypto_device_ops =3D { > .destroy_device =3D destroy_device, > }; >=20 > -__attribute__((unused)) > -static void clrscr(void) > -{ > - system("@cls||clear"); > -} > - > static int > vhost_crypto_worker(void *arg) > { Acked-by: Marko Kovacevic