Received: by 2002:a25:824b:0:0:0:0:0 with SMTP id d11csp3233725ybn; Fri, 27 Sep 2019 03:16:48 -0700 (PDT) X-Google-Smtp-Source: APXvYqyuhC6wwvbGD0Eb0m61PwN7VF2mrOaLvMSTcpKl2d4SOGa6CgtmXsVtwVaysoogmTpKJn+s X-Received: by 2002:a50:935d:: with SMTP id n29mr3568300eda.294.1569579407797; Fri, 27 Sep 2019 03:16:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1569579407; cv=none; d=google.com; s=arc-20160816; b=nUvSMYaQrBr2zfm2UEmrQ9v67H0rKY4cScpub6HPpbeqlPeJD9xhLeOrK5HneiJS7+ dI06rpLCvT93UCwu5zShtncQb2/yUtevKC9l1hAZGRVYOnKnl9PFrpqAIIlBymi2HQNi XOF1owNbXbyI7+UvFw6+HcMWt7r3AclADpJc1g97r4DQvqklBugYqh9M0ybTs6UhD42h If1u9F3FX7EijL/dAwLucf9G60/pNyZF715Wzsd1Xa2WerGooEE7LdYzKx0L2q+ApvWG tLpvS7HpAB+bslvsd362pbecBaO/L8D9DdaLlgwVkRGmF4hMTeAWVYOBMd6ednONgZ2Q Dpwg== 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; bh=P/F7kWUgR3ZqTKm0CGnmxb2Aqiw0NggseQ0ejP/6Epo=; b=EkrXBgreHiNC3uBITN+/WG+ijLhA4/8s6Hzb8yBbCBlkmyaKOUmmae2UnBwF7EUFJH vRYu+EPnu6epmdXLmxGxbysArV/taLv8iGystolzx9A32JxtZNL+mJ0dJ/30O7xcprdQ HPW1St/LdgToIHnG2oDwqpoKeHhgzukIHQIdamrDO7gBYMQKaepW1Gvh2C+cV+FYsPcN pamIRwUlZ4opAp1Fiyn/WRqLmY5ooqEimxdazCNl1Y7kyjI6SGdZKEcC1hZZFv1YfhC/ KTVt3c1J1hEGr6M9YCCO6uyp30Tj8RLNm7g5mhMsZqAWwhn9wrHSb2avhpMBcN0V1ydy RU3Q== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u8si1266445edb.57.2019.09.27.03.16.22; Fri, 27 Sep 2019 03:16:47 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726339AbfI0KPe (ORCPT + 99 others); Fri, 27 Sep 2019 06:15:34 -0400 Received: from mx2.suse.de ([195.135.220.15]:57586 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727581AbfI0KPd (ORCPT ); Fri, 27 Sep 2019 06:15:33 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id 83A38AF92; Fri, 27 Sep 2019 10:15:31 +0000 (UTC) From: Benjamin Poirier To: Greg Kroah-Hartman Cc: Manish Chopra , GR-Linux-NIC-Dev@marvell.com, netdev@vger.kernel.org, devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 13/17] staging: qlge: Remove useless memset Date: Fri, 27 Sep 2019 19:12:07 +0900 Message-Id: <20190927101210.23856-14-bpoirier@suse.com> X-Mailer: git-send-email 2.23.0 In-Reply-To: <20190927101210.23856-1-bpoirier@suse.com> References: <20190927101210.23856-1-bpoirier@suse.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This just repeats what the other memset a few lines above did. Signed-off-by: Benjamin Poirier --- drivers/staging/qlge/qlge_main.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/staging/qlge/qlge_main.c b/drivers/staging/qlge/qlge_main.c index ef33db118aa1..8da596922582 100644 --- a/drivers/staging/qlge/qlge_main.c +++ b/drivers/staging/qlge/qlge_main.c @@ -2812,7 +2812,6 @@ static int qlge_init_bq(struct qlge_bq *bq) buf_ptr = bq->base; bq_desc = &bq->queue[0]; for (i = 0; i < QLGE_BQ_LEN; i++, buf_ptr++, bq_desc++) { - memset(bq_desc, 0, sizeof(*bq_desc)); bq_desc->index = i; bq_desc->buf_ptr = buf_ptr; } -- 2.23.0