From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.8 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 0D5D7C433FF for ; Mon, 12 Aug 2019 17:06:27 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id E0C3B20684 for ; Mon, 12 Aug 2019 17:06:26 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726974AbfHLRGX (ORCPT ); Mon, 12 Aug 2019 13:06:23 -0400 Received: from coyote.holtmann.net ([212.227.132.17]:40506 "EHLO mail.holtmann.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725887AbfHLRGX (ORCPT ); Mon, 12 Aug 2019 13:06:23 -0400 Received: from marcel-macbook.fritz.box (p4FEFC580.dip0.t-ipconnect.de [79.239.197.128]) by mail.holtmann.org (Postfix) with ESMTPSA id 981B9CECF3; Mon, 12 Aug 2019 19:15:02 +0200 (CEST) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.11\)) Subject: Re: [PATCH v2] Bluetooth: hci_qca: Remove redundant initializations to zero From: Marcel Holtmann In-Reply-To: <20190807185849.253065-1-mka@chromium.org> Date: Mon, 12 Aug 2019 19:06:20 +0200 Cc: Johan Hedberg , linux-bluetooth@vger.kernel.org, linux-kernel@vger.kernel.org, Balakrishna Godavarthi , Rocky Liao , Harish Bandi Content-Transfer-Encoding: 7bit Message-Id: References: <20190807185849.253065-1-mka@chromium.org> To: Matthias Kaehlcke X-Mailer: Apple Mail (2.3445.104.11) Sender: linux-bluetooth-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org Hi Matthias, > The qca_data structure is allocated with kzalloc() and hence > zero-initialized. Remove a bunch of unnecessary explicit > initializations of struct members to zero. > > Signed-off-by: Matthias Kaehlcke > Reviewed-by: Balakrishna Godavarthi > --- > just noticed that this patch fell through the cracks, resending a > rebased version. > > Changes in v2: > - added 'Reviewed-by' tag from Balakrishna > - rebased on bluetooth-next/master > > drivers/bluetooth/hci_qca.c | 19 ------------------- > 1 file changed, 19 deletions(-) patch has been applied to bluetooth-next tree. Regards Marcel