Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp1597419rwi; Thu, 20 Oct 2022 14:47:50 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6dHxOjvD04hR9dzZSglknskyk8nHRLrIUpRd7yKS3tebdeTneL3zQAPe8LbSGU3tbOvVH8 X-Received: by 2002:a05:6402:d58:b0:458:5eca:a2c9 with SMTP id ec24-20020a0564020d5800b004585ecaa2c9mr14387632edb.306.1666302470162; Thu, 20 Oct 2022 14:47:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666302470; cv=none; d=google.com; s=arc-20160816; b=CkP07GIrm+SfK/t/BcYT2p70xM+9jOXT9KQhrsVwgWH7Bz+hQzsleWJK4DsqRT9xbf 886XSwwcPS2M0YWEt1hVLqHqw9SG/Daco8DhpaYptYoN4dmumhZl2tfO1W6+WMXeZV5y eEvzdK6lGI4IGY55ZQH+PG3pAPjUEZODkjOLqc85SJgSZfLXs6i+PwzP9nrh1Ip+yeK1 L8FaVPPvfyn5v4uZuqUhIDTHff9OER6QnVVytr/oI+nvQ2OPnVrsB2UeGDKJrLlSKQoO NNV0Hgz6AUv4LMeCAeOj/CZLYs4iSmb27Kdw8ZidI1aDcopc6WNgA+MhPnzYNre50piW vcfA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:to:from:date:dkim-signature; bh=eGqcfweopnq9l7uley4QH3e+FjPRTSfixViqU2JVPes=; b=BHLrgseJTU3vr+2QRcibUs1kkMHtgM9AaUnO/wlx1W/guv/RCWOPmmTvQcLkVP46Lb 4XjaP6WpVLdQaex3vq7kYhZykxfqj2t+NrBCOQvdaaqPvmyoB+v8OqODOBhd7QQsiyTV PH4MpqCRhRBnIgBUMj5AlYyvjT67tOK69ArU7O/LTu/dyBo5hlWbmM/9oSbP8CjGcd7U U5XXOtT67/BzrCVWdzHEJuzl0SBzAvwnMKNfUb57RZrdHvHZjcpqmVzfDwNq+Kb8WLgt 9MwvCJym6pI7HZADS/taY+lI2oj4JPA0Yih/Psk5LJpnTup8XBpb6z/aruDBawFTn7nd HRGg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@mailo.com header.s=mailo header.b=kxU2ys+g; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=mailo.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id jg12-20020a170907970c00b00781a47397b1si18069629ejc.502.2022.10.20.14.47.25; Thu, 20 Oct 2022 14:47:50 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=fail header.i=@mailo.com header.s=mailo header.b=kxU2ys+g; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=mailo.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229999AbiJTVcz (ORCPT + 99 others); Thu, 20 Oct 2022 17:32:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59048 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229718AbiJTVcw (ORCPT ); Thu, 20 Oct 2022 17:32:52 -0400 Received: from msg-2.mailo.com (msg-2.mailo.com [213.182.54.12]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 218052248DA for ; Thu, 20 Oct 2022 14:32:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=mailo.com; s=mailo; t=1666301560; bh=iR8iS0E42jvZihmNWcy5ZgDuA+WaFkQWN7g/UwsI0sI=; h=X-EA-Auth:Date:From:To:Subject:Message-ID:References:MIME-Version: Content-Type:In-Reply-To; b=kxU2ys+gQ6R0R+50QSAynn18+mTFsPmtGVcoBHOLXlbby41oePD5vWzFTFwdMduis dpX5xVacYtPWv2QqApIMUUJ2SlbOyFu78i+5XsdxGCDIPZ2kwOv+pFPRkIJ01iBwv0 wvSBU23d7CaK+kLS63xDjo/GbwO1qN0sE459qxsg= Received: by b-1.in.mailobj.net [192.168.90.11] with ESMTP via [213.182.55.206] Thu, 20 Oct 2022 23:32:40 +0200 (CEST) X-EA-Auth: Dt4nhsBn5czK+gafsjybVL/VmW4oP0/+6jSeb68vEDo5kKu6wTGxOpNR8JLuAwSkwgL2u+Jn9qipdtcbqtU4/ntrFLJMURnW Date: Fri, 21 Oct 2022 03:02:35 +0530 From: Deepak R Varma To: outreachy@lists.linux.dev, Larry.Finger@lwfinger.net, phil@philpotter.co.uk, paskripkin@gmail.com, gregkh@linuxfoundation.org, linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org, kumarpraveen@linux.microsoft.com, saurabh.truth@gmail.com Subject: [PATCH v4 11/11] staging: r8188eu: Remove unused macros Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Simple variants of macros PlatformEFIOWrite and PlatformEFIORead are defined but never used. As they do not appear to be designed for anything significant, we can remove them to avoid unexpected usage. Suggested-by: Julia Lawall Signed-off-by: Deepak R Varma --- Changes in v4: 1. Patch newly added to the patch set. drivers/staging/r8188eu/include/rtw_io.h | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/drivers/staging/r8188eu/include/rtw_io.h b/drivers/staging/r8188eu/include/rtw_io.h index 87fcf6c94ff3..e9744694204b 100644 --- a/drivers/staging/r8188eu/include/rtw_io.h +++ b/drivers/staging/r8188eu/include/rtw_io.h @@ -285,18 +285,4 @@ void bus_sync_io(struct io_queue *pio_q); u32 _ioreq2rwmem(struct io_queue *pio_q); void dev_power_down(struct adapter *Adapter, u8 bpwrup); -#define PlatformEFIOWrite1Byte(_a, _b, _c) \ - rtw_write8(_a, _b, _c) -#define PlatformEFIOWrite2Byte(_a, _b, _c) \ - rtw_write16(_a, _b, _c) -#define PlatformEFIOWrite4Byte(_a, _b, _c) \ - rtw_write32(_a, _b, _c) - -#define PlatformEFIORead1Byte(_a, _b) \ - rtw_read8(_a, _b) -#define PlatformEFIORead2Byte(_a, _b) \ - rtw_read16(_a, _b) -#define PlatformEFIORead4Byte(_a, _b) \ - rtw_read32(_a, _b) - #endif /* _RTL8711_IO_H_ */ -- 2.30.2