Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp2384541imm; Sun, 9 Sep 2018 23:37:22 -0700 (PDT) X-Google-Smtp-Source: ANB0VdY4mzxuvswTg3XzUk1ZY+ATqcmDoD4Rz2bhlPYb5nXA2Zn5i+huvV2GDd8pft018WMSiikJ X-Received: by 2002:a63:2022:: with SMTP id g34-v6mr21390835pgg.235.1536561442062; Sun, 09 Sep 2018 23:37:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536561442; cv=none; d=google.com; s=arc-20160816; b=gGWkD5OpMumsl0FTY3mBmnaof4QxGZpiDlQddssYy/2jGT6uKaRC6JHLa4G0a6F4sF R49wIZbUqyIkqDT6WEFfWuULry4BQvreoBC9lJcVUb3q2hgxiG8GcT/vTUjkd8LhXai1 C3fq35sm0HnEH3KcxZy2Hjr9e9MxpDTqyZ+gM6ZtB0GtA7VyegwP004qAOI1v9Rx+5Om 6q1qMr16hUgdbO++y9KnnxGmndB6i4Z0+jMPhPT0UzbfgT1to/kwreh2BL1bRnyH/3jZ 1diwbRFqYRKzBy/QkGq79g/dEX2j6pvlErOX6FxcTy9YsIC8GHnxwe/AC1H/icsMC78p n/SQ== 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:message-id :mime-version:references:in-reply-to:subject:cc:to:from:date; bh=EtMOcJ/NMf+HGdBmnIfx2v3NKumQTfKoppTTti9SZks=; b=rbL73DH5skKu+1Lye9n0MsY0kLtyNxP0xlPcWMndn6aJdh4bPdW5QJNIW+SbuqMRO5 ItaFNv4IsjUhTYPFwJldAWRCQpJSG1FO/dHaFqGSQxP2KD0n9/0yShLDix1b1al1mGCb KRV/xf2MbLDLhgq14zjyciaeoVikf4R0EhypQYOS7CiAktubECEEd6Pq7GImyPW3gJRQ 6dmLljZ/PFkOfQWDE18cdB8JydAn58dG6D0VytPOXNObQOCdtzeXgDQZhBpSBIUWx6Mg Txn1KKnXafDJEfWVbEec6NtgENFktAQMyQ2hK6XzeEi71ydQOavOa2HiCNEtFFhw6TvT S4+A== 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=ibm.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id x185-v6si16878573pfb.306.2018.09.09.23.37.06; Sun, 09 Sep 2018 23:37:22 -0700 (PDT) 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=ibm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727752AbeIJL1q (ORCPT + 99 others); Mon, 10 Sep 2018 07:27:46 -0400 Received: from mx0b-001b2d01.pphosted.com ([148.163.158.5]:56796 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727666AbeIJL1q (ORCPT ); Mon, 10 Sep 2018 07:27:46 -0400 Received: from pps.filterd (m0098414.ppops.net [127.0.0.1]) by mx0b-001b2d01.pphosted.com (8.16.0.22/8.16.0.22) with SMTP id w8A6Xr72143603 for ; Mon, 10 Sep 2018 02:35:18 -0400 Received: from e06smtp05.uk.ibm.com (e06smtp05.uk.ibm.com [195.75.94.101]) by mx0b-001b2d01.pphosted.com with ESMTP id 2mdff0gh03-1 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=NOT) for ; Mon, 10 Sep 2018 02:35:17 -0400 Received: from localhost by e06smtp05.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Mon, 10 Sep 2018 07:35:16 +0100 Received: from b06cxnps4076.portsmouth.uk.ibm.com (9.149.109.198) by e06smtp05.uk.ibm.com (192.168.101.135) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; (version=TLSv1/SSLv3 cipher=AES256-GCM-SHA384 bits=256/256) Mon, 10 Sep 2018 07:35:13 +0100 Received: from d06av23.portsmouth.uk.ibm.com (d06av23.portsmouth.uk.ibm.com [9.149.105.59]) by b06cxnps4076.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id w8A6ZBOH60489736 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Mon, 10 Sep 2018 06:35:11 GMT Received: from d06av23.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 8ADB0A4069; Mon, 10 Sep 2018 09:35:01 +0100 (BST) Received: from d06av23.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 45AD7A404D; Mon, 10 Sep 2018 09:35:01 +0100 (BST) Received: from mschwideX1 (unknown [9.145.63.9]) by d06av23.portsmouth.uk.ibm.com (Postfix) with ESMTP; Mon, 10 Sep 2018 09:35:01 +0100 (BST) Date: Mon, 10 Sep 2018 08:35:09 +0200 From: Martin Schwidefsky To: zhong jiang Cc: , , , , Subject: Re: [PATCH] s390: zfcp_aux: remove unnecessary null pointer check before mempool_destroy In-Reply-To: <1536399705-21676-1-git-send-email-zhongjiang@huawei.com> References: <1536399705-21676-1-git-send-email-zhongjiang@huawei.com> X-Mailer: Claws Mail 3.13.2 (GTK+ 2.24.30; x86_64-pc-linux-gnu) MIME-Version: 1.0 X-TM-AS-GCONF: 00 x-cbid: 18091006-0020-0000-0000-000002C3EE10 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 18091006-0021-0000-0000-000021113571 Message-Id: <20180910083509.7a5359f5@mschwideX1> Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 8bit X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:,, definitions=2018-09-10_04:,, signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1015 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=988 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1807170000 definitions=main-1809100072 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, 8 Sep 2018 17:41:45 +0800 zhong jiang wrote: > mempool_destroy has taken null pointer check into account. so remove the > redundant check. > > Signed-off-by: zhong jiang > --- > drivers/s390/scsi/zfcp_aux.c | 21 +++++++-------------- > 1 file changed, 7 insertions(+), 14 deletions(-) Applied to linux-390:features. Thanks. -- blue skies, Martin. "Reality continues to ruin my life." - Calvin.