Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp6389497ybi; Wed, 31 Jul 2019 13:30:15 -0700 (PDT) X-Google-Smtp-Source: APXvYqwvyHY+gPxwtEQQcIR+BRBy0WXbljJFINqZwUhUsoJVF17Oxe+YM+4fuNG7aCAkZ1+iuWtS X-Received: by 2002:a63:24a:: with SMTP id 71mr6094492pgc.273.1564605014941; Wed, 31 Jul 2019 13:30:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1564605014; cv=none; d=google.com; s=arc-20160816; b=WU5lhPRrfaOxnLv43FFknSwH3v/59FGvE5IcufShc6tFHvC6yl8/8NOgrBNX5P2XzG 2UfYBFY4NxGCo+3c7PdE3UGw7akiFTnZOpA8pe0pohO2YNgM3r9uOMG+j4IxSimavi7f sxE2AuSboUyJzkK38albWGiVLhPgLQQS/WVtR5Sj1eD5DhlS9V+na78hm4fqB9/+d9sG XanF69wQwXpPxx035cSMMolzK7YqvK97unK/eFDwnMds541yMpiWoTnbCT6XUSQ5l+Qa 00UnRdZmDald9Ajoxng/SXRumDvfS3TOz7Lh2ceIL/1CI52cjYiYmikrWDjcYpTFz1Rx DpNA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:content-disposition :mime-version:message-id:subject:to:from:date:dkim-signature; bh=CGOO3Qz8vz6py6i7KKOWSpuubNGLxWkIe5GopgOPJrk=; b=VWnegk7Og3ar3U0siMP2v1NhIn0Pvkdf7TEhOFWzmXhUimfDestpAXUfEnUedf9RxF kwTk575IwlCE/I4ksGd9nZZplCyYl67vFQ+XvmDgnLlm1NJjwEyKJC65tcPf2Cq8CiFO 32061t81cdspwCARjCuCRrgHTouYDCdPxqXdxY+VFNCh4zcYoy+d8HBWRmb3LgqiT4HQ K8+ecQFnOQIrffR+5boy7miRBnMM+r5kD+CCp7JDpGp8WVZQ3fB8NbFbeZj7nQLBbumn N1RTc6pUIFnBURvI7jedEgq3/d2LBcWSrMZZb6dU8ipjs6Z7Y7LBssy+9V5RAy47/ixD xXUA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=n7XN7S3C; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id j18si34127171pfe.235.2019.07.31.13.29.59; Wed, 31 Jul 2019 13:30:14 -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; dkim=pass header.i=@gmail.com header.s=20161025 header.b=n7XN7S3C; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729308AbfGaSZe (ORCPT + 99 others); Wed, 31 Jul 2019 14:25:34 -0400 Received: from mail-pg1-f178.google.com ([209.85.215.178]:43362 "EHLO mail-pg1-f178.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726520AbfGaSZe (ORCPT ); Wed, 31 Jul 2019 14:25:34 -0400 Received: by mail-pg1-f178.google.com with SMTP id r22so4860503pgk.10 for ; Wed, 31 Jul 2019 11:25:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:subject:message-id:mime-version:content-disposition :user-agent; bh=CGOO3Qz8vz6py6i7KKOWSpuubNGLxWkIe5GopgOPJrk=; b=n7XN7S3C3zlpCNPVbparKSlbichuk0E/msHzh5M8NUL07f5YbqHff3uNg+enH1io7k 1O89MzhAK6aeTCRHGJggMnklSj+5zAcwxfXmW7QwhjwJulYO/eWXXy8ZZIK+g0FFHpgN +U90F3xDD5RhXFdHIIDcBNqubWnCv68sEDNn1uMuZUhCg04LXXlAob5HP7rAKgH+Xu44 hj4svatEGedzU2EwEA4O6O/dnCf3lnhlKNdAwjRlyWznJNZAlgOt1cesVd7QXZzrc0DE Klr3EMxJiTEPSwdgQBXtVMWjrH6arMNfD1B90CpHGwfIo0qnPOeaju8jteyx9C6DWOU3 piZA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:subject:message-id:mime-version :content-disposition:user-agent; bh=CGOO3Qz8vz6py6i7KKOWSpuubNGLxWkIe5GopgOPJrk=; b=Cpus7+MDSJ2nKqzDqWDPFbKThkemScd9d1JPFnCwYZ6e634CEHGRrVDdqkRzz2CaFJ KySZtKAo3RqXkedwMTcKlVDbQoTWHah2pybjYHbY/Uhfclp6NyPpbXdwaINzIRDS7+XV D6UD3EqjIWti1Ixt7uwIRZ2znbnSNv96MMbuhiNCsk7WZ2kkpb+o63XINSGfoDYaam8z wuy0Mz1ggbfRyWFQbHOaURNuw4jKpt3REMCrIG6BCAcgzXLIS2Bi1SSeeUomPWmXxcKb +EUMLr+i6e0cqyrR4Pf7uq615RJNDgCjSB2ySs1F6Xe5cY6eRwhL5oCe6pvRxk8ePn/5 b/+w== X-Gm-Message-State: APjAAAVy9WfJEgnspVlT+nDVHzfoLZ3qYMZGa8qeKSMMwjsJipVSwAIq UN9k2gZxd47CQEMlbaEBdmg= X-Received: by 2002:a17:90a:d814:: with SMTP id a20mr4257773pjv.48.1564597533739; Wed, 31 Jul 2019 11:25:33 -0700 (PDT) Received: from hari-Inspiron-1545 ([183.83.86.126]) by smtp.gmail.com with ESMTPSA id g62sm2664106pje.11.2019.07.31.11.25.30 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 31 Jul 2019 11:25:33 -0700 (PDT) Date: Wed, 31 Jul 2019 23:55:28 +0530 From: Hariprasad Kelam To: Greg Kroah-Hartman , Hariprasad Kelam , Hardik Singh Rathore , Jeeeun Evans , Colin Ian King , devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org, hdegoede@redhat.com, Larry.Finger@lwfinger.net Subject: [Patch v2 10/10] staging: rtl8723bs: core: Remove Macro "IS_MAC_ADDRESS_BROADCAST" Message-ID: <20190731182528.GA9874@hari-Inspiron-1545> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Remove unused macro IS_MAC_ADDRESS_BROADCAST. In future if one wants use it ,use generic API "is_broadcast_ether_addr" Signed-off-by: Hariprasad Kelam --- v2 - Add patch number drivers/staging/rtl8723bs/core/rtw_ioctl_set.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/drivers/staging/rtl8723bs/core/rtw_ioctl_set.c b/drivers/staging/rtl8723bs/core/rtw_ioctl_set.c index 8eb0ff5..eb08569 100644 --- a/drivers/staging/rtl8723bs/core/rtw_ioctl_set.c +++ b/drivers/staging/rtl8723bs/core/rtw_ioctl_set.c @@ -9,13 +9,6 @@ #include #include -#define IS_MAC_ADDRESS_BROADCAST(addr) \ -(\ - ((addr[0] == 0xff) && (addr[1] == 0xff) && \ - (addr[2] == 0xff) && (addr[3] == 0xff) && \ - (addr[4] == 0xff) && (addr[5] == 0xff)) ? true : false \ -) - u8 rtw_validate_bssid(u8 *bssid) { u8 ret = true; -- 2.7.4