From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:44993) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d3OkW-0002Xa-5f for qemu-devel@nongnu.org; Wed, 26 Apr 2017 11:21:01 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d3OkV-0007M4-HO for qemu-devel@nongnu.org; Wed, 26 Apr 2017 11:21:00 -0400 Date: Wed, 26 Apr 2017 17:20:44 +0200 From: Kevin Wolf Message-ID: <20170426152044.GN4538@noname.str.redhat.com> References: <20170426020349.25257-1-famz@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20170426020349.25257-1-famz@redhat.com> Subject: Re: [Qemu-devel] [PATCH] block: Remove NULL check in bdrv_co_flush List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Fam Zheng Cc: qemu-devel@nongnu.org, qemu-block@nongnu.org, Max Reitz , Stefan Hajnoczi Am 26.04.2017 um 04:03 hat Fam Zheng geschrieben: > Reported by Coverity. We already use bs in bdrv_inc_in_flight before > checking for NULL. It is unnecessary as all callers pass non-NULL bs, so > drop it. > > Signed-off-by: Fam Zheng Thanks, applied to block-next. Kevin