Received: by 10.223.164.202 with SMTP id h10csp132943wrb; Wed, 8 Nov 2017 13:20:26 -0800 (PST) X-Google-Smtp-Source: ABhQp+QXY5WDdRJ1PddXv5rG5fvSntMCfCU4ad0QPkpPKc7jp15o3Wa8ADbtKtjsGDRR3xMaENj9 X-Received: by 10.98.89.6 with SMTP id n6mr1793737pfb.89.1510176026634; Wed, 08 Nov 2017 13:20:26 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1510176026; cv=none; d=google.com; s=arc-20160816; b=iPqQH43z1u8lUvE74zn7ifsVNB2eL3twdYiY+965EYpSXbDlKoJdD652TQ9dpa83nB aDqzNiRNJQp3dxC2RQbvR8kAJm6G81wV9k9f7DGM3Y6jBHqzSOJlqFp7q/rFbgTuZLCa BCDozdxy2DoYb94Fk6OJAHr02D+0IHpI4S4cIMp8aZAlBVZUUykI+AxYtq4jzJNkr9dO F9Z5hEsMaCFNcqkju7vNkf6caRcekAhXvV+I6x0UUOdqaBPveM7owuzSRMR+EnESmZKF siYwtAwkOdpOoU/eSDbofL+r7uBCwK+LHdLECSIxtUj/E8QvCm/OQbsNjA5HENa/xprG L0jw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:in-reply-to :mime-version:user-agent:date:message-id:from:cc:references:to :subject:arc-authentication-results; bh=f2kl32T2bNJO7AdccOsVlSseUEpMZn6t3C1XZ7tjHXg=; b=I0XkzUwuZUuC/6DhKwx3E/+NYT/UnGmueUVXj9TIxnN0Qq/aOAajblyFiltnFsuroe 2S2RK8AJJgSedEMdB0Q/4joDhUavscs4dg6APdIiTyi0ACjTcnOYHgmrVz16Uj4nEOZe dMQ7ZRs7zsnBzW/jonwhr2RnVZO33R/kNR+dot86ffLzupHd163J6eF2pk8j9JfKgF1P f5u/0BEUoOc1X+lQ3zLdWcfirXdlSAtw1ZocZKd8uXUWRPScDEt/gDUM+jZGddKEdOxs ZpNW3nJzem93vzZ/oQEE4snRLNvLxtZ0QCXoq9x4Rmeq29+6YEXvQuvN/rOYPfb+DRD2 QvyA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=oracle.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g3si4310628plp.423.2017.11.08.13.20.14; Wed, 08 Nov 2017 13:20:26 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=oracle.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753367AbdKHVTh (ORCPT + 84 others); Wed, 8 Nov 2017 16:19:37 -0500 Received: from userp1040.oracle.com ([156.151.31.81]:46627 "EHLO userp1040.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752694AbdKHVTd (ORCPT ); Wed, 8 Nov 2017 16:19:33 -0500 Received: from userv0022.oracle.com (userv0022.oracle.com [156.151.31.74]) by userp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id vA8LJPdI029333 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 8 Nov 2017 21:19:25 GMT Received: from aserv0121.oracle.com (aserv0121.oracle.com [141.146.126.235]) by userv0022.oracle.com (8.14.4/8.14.4) with ESMTP id vA8LJPAR032317 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 8 Nov 2017 21:19:25 GMT Received: from abhmp0016.oracle.com (abhmp0016.oracle.com [141.146.116.22]) by aserv0121.oracle.com (8.14.4/8.13.8) with ESMTP id vA8LJPET031992; Wed, 8 Nov 2017 21:19:25 GMT Received: from dhcp-burlington7-2nd-B-east-10-152-55-162.usdhcp.oraclecorp.com (/10.152.32.65) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Wed, 08 Nov 2017 13:19:24 -0800 Subject: Re: [PATCH] xen/pvcalls: remove redundant check for irq >= 0 To: Juergen Gross , Colin King , xen-devel@lists.xenproject.org References: <20171103092047.28421-1-colin.king@canonical.com> Cc: kernel-janitors@vger.kernel.org, linux-kernel@vger.kernel.org From: Boris Ostrovsky Message-ID: <0bb91134-e767-fa82-b45d-6c9ebb76e4b4@oracle.com> Date: Wed, 8 Nov 2017 16:20:55 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Source-IP: userv0022.oracle.com [156.151.31.74] Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 11/03/2017 06:01 AM, Juergen Gross wrote: > On 03/11/17 10:20, Colin King wrote: >> From: Colin Ian King >> >> This is a moot point, but irq is always less than zero at the label >> out_error, so the check for irq >= 0 is redundant and can be removed. >> >> Detected by CoverityScan, CID#1460371 ("Logically dead code") >> >> Fixes: cb1c7d9bbc87 ("xen/pvcalls: implement connect command") >> Signed-off-by: Colin Ian King > Reviewed-by: Juergen Gross Applied to for-linus-4.15. -boris From 1583038706914185815@xxx Fri Nov 03 10:02:36 +0000 2017 X-GM-THRID: 1583036146436860425 X-Gmail-Labels: Inbox,Category Forums,HistoricalUnread