From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752592AbdJFTFF (ORCPT ); Fri, 6 Oct 2017 15:05:05 -0400 Received: from mail-it0-f49.google.com ([209.85.214.49]:54649 "EHLO mail-it0-f49.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752517AbdJFTFD (ORCPT ); Fri, 6 Oct 2017 15:05:03 -0400 X-Google-Smtp-Source: AOwi7QATgD1xRx0xByQsl45M7j/5fyk3FcoVDEYrjotzyC0fZ21Yn+R5edxhmhUAHfZ05E5hBOZ35w== Subject: Re: [PATCH] block/bio: Remove null checks before mempool_destroy in bioset_free To: Tim Hansen Cc: linux-block@vger.kernel.org, linux-kernel@vger.kernel.org, alexander.levin@one.verizon.com References: <20171006184513.GA78611@debian> From: Jens Axboe Message-ID: Date: Fri, 6 Oct 2017 13:05:01 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 MIME-Version: 1.0 In-Reply-To: <20171006184513.GA78611@debian> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 10/06/2017 12:45 PM, Tim Hansen wrote: > This patch removes redundant checks for null values on bio_pool and bvec_pool. > > Found using make coccicheck M=block/ on linux-net tree on the next-20170929 tag. > > Related to patch 9987695 that removed similar checks in bio-integrity. Applied, but ditto on the line length. Additionally, I killed that reference to "patch 9987695", I don't know what that means? What does that refer to? -- Jens Axboe