From patchwork Fri Mar 17 06:50:41 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michael Straube X-Patchwork-Id: 71105 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:604a:0:0:0:0:0 with SMTP id j10csp190903wrt; Fri, 17 Mar 2023 00:15:58 -0700 (PDT) X-Google-Smtp-Source: AK7set8vT+FX2KT/6fodnewXLd6GXcH6nBRy9ALYUrYmwMUbXIZt5esiCgaqkF2KJ00LxkkIpUUL X-Received: by 2002:a17:903:41c5:b0:19a:a815:2877 with SMTP id u5-20020a17090341c500b0019aa8152877mr5858367ple.6.1679037358283; Fri, 17 Mar 2023 00:15:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1679037358; cv=none; d=google.com; s=arc-20160816; b=swJWmgHHZ7URfbT8wEyG4CEsiA18uZRXce7aONnZguOvOPCGXdpt7wfRmuUoUHgAFX aTh+tJkt2d0ZuWncP0oLQdfH2R+hAkg2Cn9KMVtiu+ZIxO9onIuajqtF0EhiVzO1tHve 5ugTX/Wz5Ec0FlpxjbBan+fRyOg2RQYJYjXGporO55zb2b89G+2VSwoLoY8ppKafK1AK BDcUTeA3XLz/UuowXH2rZCkPG5dT4JjxKn1ukfudwRp9gqmJ/6ZfyuX1MjqExgTlXfSs y5vTHqqSWGCG9t6QErZbKBhAzPjNRTG7VnUPu2205fVkSEaOJapOakItAweVZ7oXOvLj zYCQ== 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=vsabCMN0jVXQwz5SLXDNmhQC+MOhJm5LHTpIIA+t6Qo=; b=X61oevRfAam/MHwdgqkGwV+R/20KdLLZwJCrTgWT4wZMrKFHDVV5EvKWpf1mBA9OwG misqGUK3TFl5IOo7Ge5hStAdxcRf4o3Hs8z69smCT2tYjZ2+kWnh0elXEri/PCuwLc5n yRvVWv4zsV3OFPcFy/nRzxmkeEjxq+BxwEtaQvB6IQYSjRQkz1PHXPRDiEGfUfDtK7Sj TJV9Tyodx/F1OGsZYns4k15b+4l/v+dZ97yxVqP4ZP0lbnhqQhn2jlXRtHl7r0GJGaZC OJihsHiiakxommnH2IKrYGOOVhrux/3kORr48KaRRPWSmUIb9nFES62HBz3ggZCm1+M6 dgjQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=UdS4eGIS; 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=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id n8-20020a17090a2bc800b00235dc16de3asi7298326pje.16.2023.03.17.00.15.45; Fri, 17 Mar 2023 00:15:58 -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=pass header.i=@gmail.com header.s=20210112 header.b=UdS4eGIS; 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=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230220AbjCQGu6 (ORCPT + 99 others); Fri, 17 Mar 2023 02:50:58 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40728 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230191AbjCQGuw (ORCPT ); Fri, 17 Mar 2023 02:50:52 -0400 Received: from mail-ed1-x52d.google.com (mail-ed1-x52d.google.com [IPv6:2a00:1450:4864:20::52d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8F441BD4D9 for ; Thu, 16 Mar 2023 23:50:50 -0700 (PDT) Received: by mail-ed1-x52d.google.com with SMTP id h8so16557287ede.8 for ; Thu, 16 Mar 2023 23:50:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1679035849; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=vsabCMN0jVXQwz5SLXDNmhQC+MOhJm5LHTpIIA+t6Qo=; b=UdS4eGISzJzHT/LF8yroXOCbDwHnve5JXf1pWBusOrBy2ytJVdMeHJujkpReG2+1zD J/9kOwHT5dZ01kGEQHbBcJvAUfmRMxR6rty88hiPLkQFHnCbRS9pfeDCaA9gStfeGue2 JQEJo81n160sPj0nwt4KFBMX0jxPUn//V2Kvbx2q7tKQ22AtxfkHBCy+ge5iiyUN/gFf AQKlm+LrDr9Z0Thp895siT3bKQl8nEdnOpdqW0khh0j7QOwE870NLIIbnmUNOC6vHpWh efkCKOgx0Td0IzxEPsD53+GGti271joQKlnxD6i7TLzhTHymvUqcSIFinM6saO3O+l9Q J4Qw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1679035849; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=vsabCMN0jVXQwz5SLXDNmhQC+MOhJm5LHTpIIA+t6Qo=; b=eXMRDaIEVqPayLBftEgjzzbINBEMy+WZM1GcTC/2gr24p+hNwkCjtxGqjp48NizQEN wqLd+n0ceCAX9DEZ888ncYYgudpMymsS69WcJTBZTmrDog1rVNSCP7XE4YMusE840noj SQFidhSc1YD5zkYpF5LNJDnn6rYxtKtf/CV3XDjkySp+kHSbH257XZhgH8hfyqR48FQS SMQ0819F/I5b5cYnbUhzzx4uXZc58XdDTsxsdQzaTsb1IBtGTQtM7qebU3M0IuF/v2Tb Z9EW1nHc8v3XtG8KGN9z0KM99UGSTbIWYVZZZJWMPhy8KaZ/rSQenrwKYFMTbtBEUOLR Z9mQ== X-Gm-Message-State: AO0yUKVMoqSGqwIzD/5XEwPN4Nn0npUiIzBzn/aJY5EGqy3JCaUaibS3 R26X0zleb0aS/Dta3q78RKo= X-Received: by 2002:a17:906:20c3:b0:927:6e70:e245 with SMTP id c3-20020a17090620c300b009276e70e245mr11785010ejc.63.1679035849007; Thu, 16 Mar 2023 23:50:49 -0700 (PDT) Received: from localhost.localdomain (ip5f5abbef.dynamic.kabel-deutschland.de. [95.90.187.239]) by smtp.gmail.com with ESMTPSA id z24-20020a17090674d800b009289de993e2sm577438ejl.216.2023.03.16.23.50.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 16 Mar 2023 23:50:48 -0700 (PDT) From: Michael Straube To: gregkh@linuxfoundation.org Cc: forest@alittletooquiet.net, linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org, Michael Straube Subject: [PATCH 2/2] staging: vt6655: remove unused bb_power_save_mode_off() function Date: Fri, 17 Mar 2023 07:50:41 +0100 Message-Id: <20230317065041.16635-3-straube.linux@gmail.com> X-Mailer: git-send-email 2.40.0 In-Reply-To: <20230317065041.16635-1-straube.linux@gmail.com> References: <20230317065041.16635-1-straube.linux@gmail.com> MIME-Version: 1.0 X-Spam-Status: No, score=-1.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,TVD_SUBJ_WIPE_DEBT autolearn=no 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1760598276807905916?= X-GMAIL-MSGID: =?utf-8?q?1760598276807905916?= The function bb_power_save_mode_off() is not used anywhere, remove it. Signed-off-by: Michael Straube --- drivers/staging/vt6655/baseband.c | 22 ---------------------- drivers/staging/vt6655/baseband.h | 1 - 2 files changed, 23 deletions(-) diff --git a/drivers/staging/vt6655/baseband.c b/drivers/staging/vt6655/baseband.c index d7c3e4bec560..0e135af8316b 100644 --- a/drivers/staging/vt6655/baseband.c +++ b/drivers/staging/vt6655/baseband.c @@ -2171,28 +2171,6 @@ bb_software_reset(struct vnt_private *priv) bb_write_embedded(priv, 0x9C, 0); } -/* - * Description: Baseband Power Save Mode OFF - * - * Parameters: - * In: - * iobase - I/O base address - * Out: - * none - * - * Return Value: none - * - */ -void -bb_power_save_mode_off(struct vnt_private *priv) -{ - unsigned char by_org_data; - - bb_read_embedded(priv, 0x0D, &by_org_data); - by_org_data &= ~(BIT(0)); - bb_write_embedded(priv, 0x0D, by_org_data); -} - /* * Description: Set Tx Antenna mode * diff --git a/drivers/staging/vt6655/baseband.h b/drivers/staging/vt6655/baseband.h index d1128d050ac5..e4a02c240a1c 100644 --- a/drivers/staging/vt6655/baseband.h +++ b/drivers/staging/vt6655/baseband.h @@ -63,7 +63,6 @@ void bb_set_vga_gain_offset(struct vnt_private *priv, unsigned char by_data); /* VT3253 Baseband */ bool bb_vt3253_init(struct vnt_private *priv); void bb_software_reset(struct vnt_private *priv); -void bb_power_save_mode_off(struct vnt_private *priv); void bb_set_tx_antenna_mode(struct vnt_private *priv, unsigned char by_antenna_mode); void bb_set_rx_antenna_mode(struct vnt_private *priv,