Received: by 2002:a05:6a10:6d25:0:0:0:0 with SMTP id gq37csp332246pxb; Sat, 11 Sep 2021 06:32:04 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxQzcntTsBYrHipFpKn7q6pK9v/qWpCIjK+Prh1P/J21z1YzLJ1xn+nEBa5Cqm0qEN2ywaG X-Received: by 2002:a17:906:6dc1:: with SMTP id j1mr2891464ejt.324.1631367124617; Sat, 11 Sep 2021 06:32:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631367124; cv=none; d=google.com; s=arc-20160816; b=ebphKfwi+eJLdKZ0nIHiL2TeCajI85rqAzOn1knGy3kbA2NMRZWBlqL4OmAF9DZuep bCkKFNHTqI/uyEn5PGdMifUMyrTeohlOlj+ksYvis43ahGM36o28weDYvmsBYF8ZnPZ9 2Vco1wCKwma+TyDesw1o3Oo3e1BEN6rX8WKQ3jlaaCfg6e0kf9pIQp/ZiAf8Re3YeSJB 9KQXGgWBNABlZvvhsiABlGWr4wVomKH+M+duxGHTrqulOyN7Sgi0krCM8Ca7Gh0/JVCr 9WbulLYXXMfRf6jUGA+3pis9ob03BeKq2cTJI087CS9tkFI7DYVqlGCKkLo3aghCxdN6 D0Mw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=oj7vQGxgyu7rJkvqI51taxiHsAhwORuTJgNLc1WmslU=; b=srUGUudjrC506Xyq146ayNakpGG/aBvtMd7RGjRmNu2tkveKVfGAkeXT5Bf2tdBpTT kDfCE8hpC+pipp0JMOR/4r/GjKaGJUYNbDEjtUUSbfkEDHP+m9nnI85ZcGa978751Db6 JZxYxuBGPBynvHqYQnSPCYf024/EuKJJgaUssPyDOL+hM3M/ZRdTuQYchj+Y5cYCt6hd 7d/a1URoLxuoxPT6xCDiMIVs8ntzG7y8Uynr5g3ATzFvudOhqoTkUDx4+zY/DdW3WSuW ILIE6U+GaOx7JIE53xpvGWRM/Y8xGUA7fnOcKvAYueLhQcKFhaa30n84OwBBUyVGUjoo k6ZQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=ZEg13UNk; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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. [23.128.96.18]) by mx.google.com with ESMTP id dt18si1866608ejc.0.2021.09.11.06.31.41; Sat, 11 Sep 2021 06:32:04 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=ZEg13UNk; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S238484AbhIKNa0 (ORCPT + 99 others); Sat, 11 Sep 2021 09:30:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48950 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238573AbhIKN3S (ORCPT ); Sat, 11 Sep 2021 09:29:18 -0400 Received: from mail-wm1-x329.google.com (mail-wm1-x329.google.com [IPv6:2a00:1450:4864:20::329]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2F5CCC061764 for ; Sat, 11 Sep 2021 06:27:08 -0700 (PDT) Received: by mail-wm1-x329.google.com with SMTP id l7-20020a1c2507000000b002e6be5d86b3so3249812wml.3 for ; Sat, 11 Sep 2021 06:27:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=oj7vQGxgyu7rJkvqI51taxiHsAhwORuTJgNLc1WmslU=; b=ZEg13UNkd02SJOXUvwf4/AmEOTQ+WsUDP7GVt/N066AwWW7yxK/nIFhrd8DmX4baxc SxGFarz691D6lroJnhpRh/2DMJ1OOIAISh+x+fmsQiYrZWwxxu/79PKpIQZ3t5QansHh XlE0QZSRoZtK2CrgynflWvW9EB4n0/ntDbXKlOOrYfSJ0LLP0JVE/nQGaxd/lk2zTBvE 61cmtPkHBcogYDLRq3K0lpIulcWRvkUP/XbSJwqq8AuaEiw7M/ISQG0SE2UTZBJDZUII PvY8D/yF/GWX2ge+3c5tQpvehZpGu4YhLH6vzyp1mzBgy17mFqcCcyfuAuOkiPyFiVR/ 1lkg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=oj7vQGxgyu7rJkvqI51taxiHsAhwORuTJgNLc1WmslU=; b=VGZm3KRpZGm0s9IkcPVzFzT+RW/giI9PAinNce0nFh8Vfr0U609LSkT5kqOIs7e4Vj xI/rce3IEAK3QOMD1akmxzqzIUXjlHd2GS83JaEZfVOnoIbjePOJRDS7Isy+rpk5cAz2 ZNw+LjQcKuCFG2metbbn8vKbHU12VIaYV/KjgGaMBgJr+e++YHP5/dI43F4EInfsdNPt UA8hf5cxulYc2EFa/kwoaFKveXEBjhsI89nrYtcjUmQ3cZEyPbiAQJZdymONr68WQeeW HvbVe+Xz/+ECTZlaLU52w5vCKKZLkHRmxgA9Q2PNw3JKLhfqT3EmNzkV4Lypzab0nyGQ 8Yng== X-Gm-Message-State: AOAM531MhRtn22ixCmQHGCnXp6H48CT73Q5m3I4yrz6T5X18V3DkVecO KVorj5ltQ5KYRBSpU52sCng= X-Received: by 2002:a1c:f00a:: with SMTP id a10mr2663458wmb.112.1631366826800; Sat, 11 Sep 2021 06:27:06 -0700 (PDT) Received: from localhost.localdomain ([2a02:8108:96c0:3b88::ae40]) by smtp.gmail.com with ESMTPSA id 48sm1770253wrc.14.2021.09.11.06.27.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 11 Sep 2021 06:27:06 -0700 (PDT) From: Michael Straube To: gregkh@linuxfoundation.org Cc: Larry.Finger@lwfinger.net, phil@philpotter.co.uk, martin@kaiser.cx, fmdefrancesco@gmail.com, linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org, Michael Straube Subject: [PATCH 02/18] staging: r8188eu: remove unused ODM_AcquireSpinLock() Date: Sat, 11 Sep 2021 15:26:19 +0200 Message-Id: <20210911132635.30369-3-straube.linux@gmail.com> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20210911132635.30369-1-straube.linux@gmail.com> References: <20210911132635.30369-1-straube.linux@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Function ODM_AcquireSpinLock() is unused and empty, remove it. Signed-off-by: Michael Straube --- drivers/staging/r8188eu/hal/odm_interface.c | 4 ---- drivers/staging/r8188eu/include/odm_interface.h | 3 --- 2 files changed, 7 deletions(-) diff --git a/drivers/staging/r8188eu/hal/odm_interface.c b/drivers/staging/r8188eu/hal/odm_interface.c index c33ef4736ff6..ab9100d4b1e1 100644 --- a/drivers/staging/r8188eu/hal/odm_interface.c +++ b/drivers/staging/r8188eu/hal/odm_interface.c @@ -94,10 +94,6 @@ s32 ODM_CompareMemory(struct odm_dm_struct *pDM_Odm, void *pBuf1, void *pBuf2, u } /* ODM MISC relative API. */ -void ODM_AcquireSpinLock(struct odm_dm_struct *pDM_Odm, enum RT_SPINLOCK_TYPE type) -{ -} - void ODM_ReleaseSpinLock(struct odm_dm_struct *pDM_Odm, enum RT_SPINLOCK_TYPE type) { } diff --git a/drivers/staging/r8188eu/include/odm_interface.h b/drivers/staging/r8188eu/include/odm_interface.h index 9109d72915cd..7eccf459b636 100644 --- a/drivers/staging/r8188eu/include/odm_interface.h +++ b/drivers/staging/r8188eu/include/odm_interface.h @@ -96,9 +96,6 @@ s32 ODM_CompareMemory(struct odm_dm_struct *pDM_Odm, void *pBuf1, void *pBuf2, u32 length); /* ODM MISC-spin lock relative API. */ -void ODM_AcquireSpinLock(struct odm_dm_struct *pDM_Odm, - enum RT_SPINLOCK_TYPE type); - void ODM_ReleaseSpinLock(struct odm_dm_struct *pDM_Odm, enum RT_SPINLOCK_TYPE type); -- 2.33.0