[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH 0/5] tools: address Coverity UNUSED issues


  • To: "xen-devel@xxxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxxx>
  • From: Jan Beulich <jbeulich@xxxxxxxx>
  • Date: Mon, 12 Jun 2023 13:43:40 +0200
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=suse.com; dmarc=pass action=none header.from=suse.com; dkim=pass header.d=suse.com; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=BGkmc2wSqEMHphmPgawD+3qg9wOrKHkL6facag/Exak=; b=Wlrsa0TjrnfgBbZB9QhhzAYWaUpnrzugGdKFRmZpYa2a9HCKWf8eK4iWM0S+/LDH+/FD/ASi2421Ph63+mIcnvkLLWMsUtZH3ifcqEr0k4/MBS9EQmxOAkNZpftLEZnZSRWm/2BKH0eFL5T6w95kkOje5tgabBXm+aN29YqsrYzy4odOrr6pjG4jcTQXB6GJAKvXuLsgD+3X0K8xAlO6xMGZNowa69tcd59LoRwaD4ueiccGsj29dOndiLDxLdzc9LtS9Y4kdubR0R3Lumoxc9miPXm7dXrktf5Doe2caKj64IIhIAAFOHoH0AgQ9U+PcWFFSbGkGTzfPMDYOqZIAQ==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=PvobFaYsMTZB7bPUOenSsimSX7kseE52PXVbg2G4SMlTZvDJsxvzQZoVLCELjFh8/BGRoxVteYFBRYW4R3jVl1o4Di9tJr1tZVa5RUJx0PmRJ8cds3vWmr2c24/i9LC7G3f8z2QN3wh6HN1eNo2D/YrQX1cEts4wvoUoTpcZMzdouNzuOKQRWm7GHyTiCyu5KxIiHDpsjb2KQ2BjWkWZEvbsVdIF68QYVyAbv26+ncaMJshrJN5M1IsNnbZH293PZ1Pvk68xCxGl9Z14XgfuuQQMFdXEVYp48fy+3UTojtaf7AxbZvXc0MarWp73f1bbRBiS5OGWCvQogQudkQdUiw==
  • Authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=suse.com;
  • Cc: Anthony Perard <anthony.perard@xxxxxxxxxx>, Wei Liu <wl@xxxxxxx>, Juergen Gross <jgross@xxxxxxxx>
  • Delivery-date: Mon, 12 Jun 2023 11:43:59 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

There a number of cases where Coverity has spotted writes to variables
when the written values wouldn't be used subsequently. The patches here
are independent of one another, except for this common theme.

1: xen-mfndump: drop dead assignment to "page" from lookup_pte_func()
2: libxl: drop dead assignments to "ret" from libxl__domain_config_setdefault()
3: libxg: drop dead assignment to "ptes" from xc_core_arch_map_p2m_list_rw()
4: libxg: drop dead assignment to "rc" from xc_cpuid_apply_policy()
5: libxl: drop dead assignment to transaction variable from libxl__domain_make()

Jan



 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.