Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp4369159pxk; Tue, 8 Sep 2020 19:11:22 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwFq6pPUVlG5V10txOU4S7cjlS9TRQNDTMfOBntnKcd9MrFfy0mlg7P/twPL7QGV4B3Xpv0 X-Received: by 2002:a05:6402:176e:: with SMTP id da14mr1875360edb.349.1599617482695; Tue, 08 Sep 2020 19:11:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1599617482; cv=none; d=google.com; s=arc-20160816; b=NRAlloQxYrLuwp/NkHN0BbIUnvIvz9DhflXbrJRxLNVhIP5s01kpIrxBJL6ErSVow6 NLsuLUvdE5CPobsRbGNgVB097//wc9YE1tYtqUotALRPa7FpAkpaXYZtfyQLgithYuuy QGSCklfLNFin75CgUdX2KlQkfmcD0pzsngVGKLI6JN6c3wJpPYrxDcni0Tuey4krQjZr a9yXndFmBfb/KbXgIoFDq3ZONXwqQQZgMqaYMG6Eb7r+imjBEUTw918m3p/ZBSHS6MbN A6K+UDDvuUp+koerrl1xGnnLsxyp2V9XmpZxdXFc+XwRupfiFPbn17GNR065ffISLf1Q 6Xeg== 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:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=61lXLzKnH+Di6gjmrgky7lh/Z/64jeuG4qmv9ASsX08=; b=wEHyCKcmRh7xNSDGDWXfyIQbeIfNNaeFoQr3BPnPxjQdVPnfbfah+UN/Y1ON52FA+j W02CsqZev5lFvUpzAdhyLxkqxDO8E+61LQI8YtjWKmU/ASACZByPO2ZvU/QqbYU0LXAi 54Se6/mlp5yIw43fXbmLU15NOJwkbq0wg7Y0OsVMwnrrdF6xzTX6RmyOniFFxEIFaRWf M/rCO5ugBzSMM6llPECj9pj3Rx0LXyahqP2B6a7tsMVq3XlfAxYakcZYIqqkwqQzYmJm HxAO0J+4zoLA7cOznoKThIypd09NB10aEobIYtme/3BRtTkcyvKrAfwYZnhxDvz7jVUu D1yA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2020-01-29 header.b=IDc4AJjd; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=oracle.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id bs11si550314edb.90.2020.09.08.19.10.59; Tue, 08 Sep 2020 19:11:22 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2020-01-29 header.b=IDc4AJjd; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=oracle.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729719AbgIICJ6 (ORCPT + 99 others); Tue, 8 Sep 2020 22:09:58 -0400 Received: from userp2130.oracle.com ([156.151.31.86]:56006 "EHLO userp2130.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726642AbgIICJx (ORCPT ); Tue, 8 Sep 2020 22:09:53 -0400 Received: from pps.filterd (userp2130.oracle.com [127.0.0.1]) by userp2130.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 08929kId130948; Wed, 9 Sep 2020 02:09:46 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : mime-version : content-transfer-encoding; s=corp-2020-01-29; bh=61lXLzKnH+Di6gjmrgky7lh/Z/64jeuG4qmv9ASsX08=; b=IDc4AJjdyuB2knGen9Vkhb4r2NEHi3EtUarqUZbzOOLKTC2XmDzXNHqdQUIGi0rOW68h Pe4fCZ8F3VE8nQluD0WeqsJdazqR9reM05UdLgC50FOa49ycR1pWzzN9F0oB/XA4vhVF 7AoqVkSeb2x20KcNos29qtyQNbkzHH8UHVRvhQ9LhETF9BuQ0ZS0i229CSqxLyEpTNpl /9B6uvlBsAsjIL1N8wTen8NHNYfnZEf2wZ8xR708XjvTTeOvFjLJFeJMMimsfc7dH2dv V4kt5PYjEF+7vwCksFsIMFjLxTEvRm/XOmiosAV8/SyIp/lE9mtvRsUDMQe1eDvvzCup lg== Received: from aserp3020.oracle.com (aserp3020.oracle.com [141.146.126.70]) by userp2130.oracle.com with ESMTP id 33c23qy0ab-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 09 Sep 2020 02:09:45 +0000 Received: from pps.filterd (aserp3020.oracle.com [127.0.0.1]) by aserp3020.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 089252WV095272; Wed, 9 Sep 2020 02:09:45 GMT Received: from userv0121.oracle.com (userv0121.oracle.com [156.151.31.72]) by aserp3020.oracle.com with ESMTP id 33cmk53f2p-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 09 Sep 2020 02:09:45 +0000 Received: from abhmp0019.oracle.com (abhmp0019.oracle.com [141.146.116.25]) by userv0121.oracle.com (8.14.4/8.13.8) with ESMTP id 08929eUf022857; Wed, 9 Sep 2020 02:09:40 GMT Received: from ca-mkp.ca.oracle.com (/10.156.108.201) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Tue, 08 Sep 2020 19:09:40 -0700 From: "Martin K. Petersen" To: QLogic-Storage-Upstream@cavium.com, jejb@linux.ibm.com, Xu Wang Cc: "Martin K . Petersen" , linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] scsi: qedi: Remove redundant null check Date: Tue, 8 Sep 2020 22:09:19 -0400 Message-Id: <159961731706.5787.5843134400258546668.b4-ty@oracle.com> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20200827092606.32148-1-vulab@iscas.ac.cn> References: <20200827092606.32148-1-vulab@iscas.ac.cn> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9738 signatures=668679 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 malwarescore=0 phishscore=0 mlxlogscore=999 bulkscore=0 adultscore=0 mlxscore=0 suspectscore=1 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2006250000 definitions=main-2009090018 X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9738 signatures=668679 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 adultscore=0 priorityscore=1501 mlxlogscore=999 mlxscore=0 bulkscore=0 suspectscore=1 spamscore=0 malwarescore=0 phishscore=0 lowpriorityscore=0 clxscore=1011 impostorscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2006250000 definitions=main-2009090018 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 27 Aug 2020 09:26:06 +0000, Xu Wang wrote: > Because kfree_skb already checked NULL skb parameter, > so the additional check is unnecessary, just remove it. Applied to 5.10/scsi-queue, thanks! [1/1] scsi: qedi: Remove redundant NULL check https://git.kernel.org/mkp/scsi/c/9535f2152ace -- Martin K. Petersen Oracle Linux Engineering