Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp4494685ybi; Tue, 30 Jul 2019 03:04:42 -0700 (PDT) X-Google-Smtp-Source: APXvYqzG0e5hlVP3rBYbbGtZphNCFI+ogQKHkC3ry+Xm5WFoThHt9V/N5p0qMYgGdHhiUWUGFMc7 X-Received: by 2002:a17:90a:ad89:: with SMTP id s9mr117455009pjq.41.1564481082698; Tue, 30 Jul 2019 03:04:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1564481082; cv=none; d=google.com; s=arc-20160816; b=AbkTZbKOdYTKlB/3ct7CQEQC3kZGgGZdDSCJZDGPvPuMKzlvvq8+n3xNiKRWah3yGf ba2+rJZU5hOl7LPo2uTAH2M91za/k5NBba8Vy6fP3/SpgqC2kyOYYUMLIEc1OQ6Q2RzJ dRxCJWDdXiPsXmPyOQwYSB6itukms+iGWOflPXzhbyWSZn0dXbhXAR62LA8kFu8rgmpY lhPmjA03amO7+b5kg5SY4lBSdSm/TrNMfmtE+vQQtsNARePhW+6+zL8TdfluO6C1ekzU Ob9rdPyUMM5ufNp2d3iV9c6isp0dWVWDOTID9wCJpWVSON0NExkCpCidzdZfqVmH1MVs 5vZg== 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=gD5mfEMWuXarGCctKEueAm1TQYwfzvdTbbmFFyNOtWo=; b=pbmyDAZVdTCiSEoVn1EToy8sYFeESm+zzYnD3TYu44vLu0y40wGYUXRfplYaI+tDQc RR89RzekViTb4InS9frH3/H/NIY68Lf1GC0WcxftN2CZyPSH0T+7/T4SZs2xdiGOTHfv mMyke5bsJxJugZ58Jxw4LP/wj/DDtXH9yNhSp8MmFTUDW+TrSdtWF8Za/a4rdC2Eaf5t i4pV5Ywh0l5DmGNzcK15RfBS9PoCLZaR1zmgDeDb1aLcS1HJnuP9gzvD4FYdZTpIWdWU JyBqAQuf5yQ3Ov4Jfa/CW7NzWHoiBs5529cQhoQIzcG2x7RyGupEFe3Wr+EJU1Hc4dEd T3dQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=UVBvxgZ6; 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 x4si29066688pln.70.2019.07.30.03.04.24; Tue, 30 Jul 2019 03:04:42 -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=UVBvxgZ6; 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 S1728536AbfG3DEU (ORCPT + 99 others); Mon, 29 Jul 2019 23:04:20 -0400 Received: from mail-pg1-f193.google.com ([209.85.215.193]:41546 "EHLO mail-pg1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726386AbfG3DES (ORCPT ); Mon, 29 Jul 2019 23:04:18 -0400 Received: by mail-pg1-f193.google.com with SMTP id x15so18903723pgg.8 for ; Mon, 29 Jul 2019 20:04:18 -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=gD5mfEMWuXarGCctKEueAm1TQYwfzvdTbbmFFyNOtWo=; b=UVBvxgZ6r/zLyKNUUmC7qzvDk5EBxkpH1aC3y+kIo97u1sg42yewB7FkZdIpZMqvpS QIB4TpEnF3SyEtGHbXb/AB4jlJ9mRLrxHLY5bz5G9UFc70g+I+IJA+g1/ySrcOw/pfWt tzD7FDrpyDosPIvxQacedkrga26Bv7MfrsThJiWoy5ymskilTpMy8SO2zzUd7beqKfsl u4Bbb9PSRp/zymco+TgOhWf3RH0SNTve4sqmjJQ8YX7KeQehRXgKMlEsLB5DVtQL2FOR sfTCYP4R/1c2eDlXt/0WCDtWBVhW7r29c2S1WcHEstdLYrR/syUqDu72U6O9LfaWd3Qt 0WkQ== 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=gD5mfEMWuXarGCctKEueAm1TQYwfzvdTbbmFFyNOtWo=; b=jr2YxxwkZB144QFs+EM7HhCpaGkjj2wW9umSfAv7QGoMM6MfirOQcodRh0agiJTKJj EliL/kx5uJ1TNFu6LxkSjJf3ELh8xy4Umh6Rn2fqYoKFoZp/3DzrHTkTiaKmNEBsVjNI 2HrnPi6OTx+ZgF2VgSZa43VDG6EbyHsnM9c4amBDKpZw8UTLyQ4ydVhd7riRvUpY33jp SuFRPhNa1y4grVCMf+cJg//cRMYWUOLewVmsaFcSzDugseWGfG+m2rkz4/Ek7hMmJaeE VC5tL7zPVID9B0Qj3N0h9Nq1PntR138mnSlWc1e+MXezn2J97z7xDIyJzqfov51ry6z/ 04eQ== X-Gm-Message-State: APjAAAXnyrmAYaFkycbmNgiA3687iBEKXplkwbgEaut1kLCdzPgRNaTZ P8U1VozEsNTxV/bV2yPqTJ8= X-Received: by 2002:a17:90a:1aa4:: with SMTP id p33mr116749314pjp.27.1564455858074; Mon, 29 Jul 2019 20:04:18 -0700 (PDT) Received: from hari-Inspiron-1545 ([183.83.86.126]) by smtp.gmail.com with ESMTPSA id n185sm45771965pga.16.2019.07.29.20.04.14 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 29 Jul 2019 20:04:17 -0700 (PDT) Date: Tue, 30 Jul 2019 08:34:11 +0530 From: Hariprasad Kelam To: Greg Kroah-Hartman , Jeeeun Evans , Hardik Singh Rathore , Colin Ian King , Mukesh Ojha , Hariprasad Kelam , devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org, hdegoede@redhat.com, Larry.Finger@lwfinger.net Subject: [PATCH] staging: rtl8723bs: core: Remove Macro "IS_MAC_ADDRESS_BROADCAST" Message-ID: <20190730030411.GA6140@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 --- 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