Received: by 10.213.65.68 with SMTP id h4csp395615imn; Sat, 31 Mar 2018 00:11:11 -0700 (PDT) X-Google-Smtp-Source: AIpwx48xgo1RxZ3WR4/7nru/Tvj+Rpx+HaGc2GSH8PJivM73UvqhjlNUzQjVhRXKZktvEm+v5PWs X-Received: by 10.101.101.66 with SMTP id a2mr1280694pgw.223.1522480271659; Sat, 31 Mar 2018 00:11:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1522480271; cv=none; d=google.com; s=arc-20160816; b=vQdlDNyt2AN14Zp7XIGLkRC3/bNQhOWOwsEOdDCpygBrJctgSTgK/SPQL1Tz+cid55 VLmXKq35d2PQOUHeZxXjKrDL4+1QjNT8hEkdVktanRmhr8TeXCNO0woUiIQ5JkTkvdoc gcpLOd9e8V8+WrLlE/YSBvc9ej0wxkCPeV6KWUYZ/TajaBtuIhMoDjNEZOxWYpk33PHV zk4dSf71qCQgwWO/Pr/D9l3wrqbuAyDKRcuyPaOyhgnwuCy9Mnqr0u/tquEhhIComt7z eHiIIlZ73eoE148qOsxrBoggj4O9daVggayZR0vVGxTBGVsTYQXu9s4Bs/HRqGxPNEJG 7Dmg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:arc-authentication-results; bh=LS770wzj672V/lDTdUVg+M0FhoXNydC7ems9heMrENw=; b=WkLa4p4L/w+0uAL0DyzNG8oNhAfJjPS6eqTqXFDcJ1MyL1uA6K4mm61JgPhxf2O45Z 8vPvUjSV6lpnPTzcMmi5lYMDLI8oZossGEUps72z94svgAXkSmQSjuARxZO/ad7nhVDx gJcF+7MVnFAn3LvtKbmqgi968D1sF3GiZsyx4xogoTYeknPuL2Z7gd3GV1xldioVESux 4ER7wS2MIDUv/0Qt7n6YSgz5chDahWdlP4Ao7zVtkPUw4tqCw2ni9suD7YTuIQ66ZGS1 Buc9/U9UHiTH1JL2A0UrEmkRv9mnRyGopUDuE4Y4wyajybB0F/LSLsBClBiz+LK/vKbT MTGA== 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 k73si6784944pgc.707.2018.03.31.00.10.57; Sat, 31 Mar 2018 00:11:11 -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 S1753342AbeCaHGy (ORCPT + 99 others); Sat, 31 Mar 2018 03:06:54 -0400 Received: from smtprelay0112.hostedemail.com ([216.40.44.112]:43073 "EHLO smtprelay.hostedemail.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1753028AbeCaHGA (ORCPT ); Sat, 31 Mar 2018 03:06:00 -0400 Received: from filter.hostedemail.com (clb03-v110.bra.tucows.net [216.40.38.60]) by smtprelay02.hostedemail.com (Postfix) with ESMTP id 3591E24893; Sat, 31 Mar 2018 07:05:59 +0000 (UTC) X-Session-Marker: 6A6F6540706572636865732E636F6D X-Spam-Summary: 2,0,0,,d41d8cd98f00b204,joe@perches.com,:::,RULES_HIT:41:355:379:541:800:960:973:981:988:989:1260:1345:1359:1437:1534:1540:1711:1714:1730:1747:1777:1792:2393:2559:2562:3138:3139:3140:3141:3142:3351:3865:3866:4250:4321:5007:6261:7903:10004:10848:11026:11657:11658:11914:12043:12114:12296:12438:12555:12895:12986:13069:13311:13357:14181:14384:14394:14721:21080:21627:30012:30054,0,RBL:47.151.150.235:@perches.com:.lbl8.mailshell.net-62.8.0.100 64.201.201.201,CacheIP:none,Bayesian:0.5,0.5,0.5,Netcheck:none,DomainCache:0,MSF:not bulk,SPF:fn,MSBL:0,DNSBL:neutral,Custom_rules:0:0:0,LFtime:19,LUA_SUMMARY:none X-HE-Tag: owner11_8b7face455605 X-Filterd-Recvd-Size: 1567 Received: from joe-laptop.perches.com (unknown [47.151.150.235]) (Authenticated sender: joe@perches.com) by omf03.hostedemail.com (Postfix) with ESMTPA; Sat, 31 Mar 2018 07:05:58 +0000 (UTC) From: Joe Perches To: linux-kernel@vger.kernel.org Cc: netdev@vger.kernel.org Subject: [PATCH 10/12] mvpp2: Use ether_broadcast_addr instead of a local array Date: Sat, 31 Mar 2018 00:05:25 -0700 Message-Id: <8e2cec37fd78de62c6e5f683528e8554d1e823b0.1522479609.git.joe@perches.com> X-Mailer: git-send-email 2.15.0 In-Reply-To: References: Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Save a small bit of object code by using the new global instead. Signed-off-by: Joe Perches --- drivers/net/ethernet/marvell/mvpp2.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/net/ethernet/marvell/mvpp2.c b/drivers/net/ethernet/marvell/mvpp2.c index 7fc1bbf51c44..a848b92f5961 100644 --- a/drivers/net/ethernet/marvell/mvpp2.c +++ b/drivers/net/ethernet/marvell/mvpp2.c @@ -7345,11 +7345,9 @@ static int mvpp2_open(struct net_device *dev) { struct mvpp2_port *port = netdev_priv(dev); struct mvpp2 *priv = port->priv; - unsigned char mac_bcast[ETH_ALEN] = { - 0xff, 0xff, 0xff, 0xff, 0xff, 0xff }; int err; - err = mvpp2_prs_mac_da_accept(port, mac_bcast, true); + err = mvpp2_prs_mac_da_accept(port, ether_broadcast_addr, true); if (err) { netdev_err(dev, "mvpp2_prs_mac_da_accept BC failed\n"); return err; -- 2.15.0