From nobody Sat Nov 30 10:29:14 2024 Received: from mail-ed1-f41.google.com (mail-ed1-f41.google.com [209.85.208.41]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 5D2EB13E02C for ; Tue, 10 Sep 2024 05:56:45 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.41 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1725947806; cv=none; b=R7OScpyJkef4DblOrnqwrylBpXinZhlSKV/qjShMGS1jC6aIBmoq3OdfSlXXcGIm7YejfNkhis6q0kwjw6Fw3LY5FoRMyJ1zr6HID8n6JpkY8qANRA2RQd0VKIpLHOUMhJrko7KkR+F5iHmW3Kc2mj6E0jjqgMCdvVA8EukZ4cQ= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1725947806; c=relaxed/simple; bh=rTcgziOzBrl44U9SH8mF8R76dsFQSPYmbjbU561m79w=; h=Date:From:To:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=ipIt5CALw3wuI/7nCibjV0em2TaYPyMf8DA2Wj42I7BpSW9l8R2tuZ2o8H8TQA2ZAz31IH9nwglw7X86lAlILDBnGrkxCDyfAfyVDhLyHWQ4TsSUfOauhS7G7W/XM/GA0Np5ArS8u8JIOsQyYeq8U0KrSSsHO/l45s5ocHVge/Q= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=TxLp/GEK; arc=none smtp.client-ip=209.85.208.41 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="TxLp/GEK" Received: by mail-ed1-f41.google.com with SMTP id 4fb4d7f45d1cf-5c3ed267a7bso449323a12.3 for ; Mon, 09 Sep 2024 22:56:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1725947804; x=1726552604; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=orDkFr4WMNzRd7jwY0Xi5+QqYLxdevVKzsGNIMcO99E=; b=TxLp/GEKthMXLsEGSZHkzeil08PxTVGZ3jvhyhFRTXAcrcOx+HyIyoNh3mr90TIzQY DHo2Y4nqVEPtAkaq4KosKqnMTb/Ua+Rd1NRYsuC0trQ7Rsx/iK0uIZXr1M9QJ0UCB434 kTZ2aP3r8g4Hyl5ZO1Hn+aq5wLTNSKZ3RFKZSb2zFrOKEDxYDbfqX/vL2Lkv0CoiXprL WBT4LcIdqnDjS70bIHisxflmYeqhdHQLiKpd23n8NgYp1wJVxa2mvMX89rOxg/vo9mEj kJHgXEQt9O2XPjwuRoItNdBDbcIWqdajMYN+Q4dMX5YC+HydXK86rRF1CfqaRFZCE3RJ oRHg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1725947804; x=1726552604; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=orDkFr4WMNzRd7jwY0Xi5+QqYLxdevVKzsGNIMcO99E=; b=GhgkVoY/ogVINXt0TZ3xJ4OVPKnWSyNTSF8vSWSmEi3rIyyf83/vNFlVzT8nFdorlG XkuUxcvtG6MmSkIEJGn4DPwjon48lcSCevI1gA0lzz0VFtJeAd+cLzvUx/cKpuPhrOfa B7yymbsZcQtJ/JtaF8YWWefIrzAMGhxX5HTOfHgjV3/Q1McqTcX9grA9OtsXCxELW24g tl5m84I7a3v2YrFecKsSjMJwe0js3aAzzKLEpqfILRWeqovN2iV/MXSIoBbfsMRlHa3+ QP5SSBtnBHIczevsInIDeWGWRrqnXQOVImLieksYwuIJF5f1Ia6f0L7z8M+9FQa6zPoq vsEQ== X-Forwarded-Encrypted: i=1; AJvYcCVENk3poc4keM0ioEgVu8MLiSl/QsN8+B17ET1g5OHBlfAUSSn6Fo0VYm1niwMy7p1B6KivgaHU762KR1U=@vger.kernel.org X-Gm-Message-State: AOJu0YySHyp0qcklea+scgWv8W4xdX46wVkvavOmPOgdglW9sTA3yXU6 I/9Lu8XzxKxPInQAad75azRt5KnG3lnTTJPjvy288W90L303dYbu X-Google-Smtp-Source: AGHT+IFedHmF+KlVMrCL6hfR+S34Ahn0E6eK6bozAAYGaeDaDRxhs8LsQkf/dWeUNbH7mHkqBlMDeQ== X-Received: by 2002:a05:6402:51cb:b0:5a1:c43:82ca with SMTP id 4fb4d7f45d1cf-5c3dc7beaa7mr7526996a12.26.1725947803364; Mon, 09 Sep 2024 22:56:43 -0700 (PDT) Received: from matrix-ESPRIMO-P710 (p200300c78f2a8598b80c2d4e9a813f29.dip0.t-ipconnect.de. [2003:c7:8f2a:8598:b80c:2d4e:9a81:3f29]) by smtp.gmail.com with ESMTPSA id 4fb4d7f45d1cf-5c3ebd8cd43sm3848216a12.93.2024.09.09.22.56.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 09 Sep 2024 22:56:43 -0700 (PDT) Date: Tue, 10 Sep 2024 07:56:41 +0200 From: Philipp Hortmann To: Greg Kroah-Hartman , linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org Subject: [PATCH 01/11] staging: rtl8723bs: Remove unused function RTW_DISABLE_FUNC Message-ID: <46545805edb962ae97b15be60e0a3446aae42701.1725826273.git.philipp.g.hortmann@gmail.com> References: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Remove unused function RTW_DISABLE_FUNC and its comment. Signed-off-by: Philipp Hortmann --- drivers/staging/rtl8723bs/include/drv_types.h | 7 ------- 1 file changed, 7 deletions(-) diff --git a/drivers/staging/rtl8723bs/include/drv_types.h b/drivers/stagin= g/rtl8723bs/include/drv_types.h index 9e6ca1dec525..0b35c97843cc 100644 --- a/drivers/staging/rtl8723bs/include/drv_types.h +++ b/drivers/staging/rtl8723bs/include/drv_types.h @@ -452,14 +452,7 @@ struct adapter { #define DF_RX_BIT BIT1 #define DF_IO_BIT BIT2 =20 -/* define RTW_DISABLE_FUNC(padapter, func) (atomic_add(&adapter_to_dvobj(p= adapter)->disable_func, (func))) */ /* define RTW_ENABLE_FUNC(padapter, func) (atomic_sub(&adapter_to_dvobj(pa= dapter)->disable_func, (func))) */ -static inline void RTW_DISABLE_FUNC(struct adapter *padapter, int func_bit) -{ - int df =3D atomic_read(&adapter_to_dvobj(padapter)->disable_func); - df |=3D func_bit; - atomic_set(&adapter_to_dvobj(padapter)->disable_func, df); -} =20 static inline void RTW_ENABLE_FUNC(struct adapter *padapter, int func_bit) { --=20 2.46.0 From nobody Sat Nov 30 10:29:14 2024 Received: from mail-ed1-f54.google.com (mail-ed1-f54.google.com [209.85.208.54]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 8D317175568 for ; Tue, 10 Sep 2024 05:56:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.54 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1725947814; cv=none; b=p+m1tq6mHPcTPDjF88zzF52YIwR//pyh92pf5QFjDZLVp+mph8gXZ0YX1m27Xv4p4iW5ZdzIzL0UKkjd7NQiul1iNEdt/+ofxAO6aVFkPseEe0XroMdfprheie9VceOBBu3WiMb/Exaw5Q231PrkNWRumN/Exh5nJrk5bAoh8Ng= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1725947814; c=relaxed/simple; bh=ES4IlmV1I8qJ0umpHm9D3Om6YbnfFnqjgqdFRo+/ds8=; h=Date:From:To:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=iu/0/cnwRG2PHnoEmPX8taklAEFs7x1DIPWzliSucQ2uwkRbAXPcGIrX4NRZxFiDu49t2Qbn2ii6bhq4/cbsp606v99OVaOMEB2Mp+N1/5cv663CsBXFflKbIsAomGawv15ObCaB1qQh+1HUSKLU5mARB3IaTyX43XeOH7TfYOo= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=eRkbGaqi; arc=none smtp.client-ip=209.85.208.54 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="eRkbGaqi" Received: by mail-ed1-f54.google.com with SMTP id 4fb4d7f45d1cf-5c3c30e6649so267741a12.2 for ; Mon, 09 Sep 2024 22:56:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1725947811; x=1726552611; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=kTuEPCsEvs5kLo9QXLzwPbMasTm4z0Tp5r0GXCVgC5w=; b=eRkbGaqiVxTmKV0VnXdjeagP7LTNDGwtPML6ZZ8Rjoh/9y++GcqS5r435U5XQkV3xx wWi3SuzIO/qbdMLih7PhdS8e5ICWINZDn5W9C8JC55u6UP2ttDB/0VAlr9Zm96oTw+fe zGROems9QozgdIpOTrjtOGhrGBndg5ZVkV2fjtdF6hUfcXRf++necW8wkwDW614pQoQ7 c2g8bDym7m+Fgd7zX/zBCwZ3Gl2+bJJp+kK/MCs3vDQK25rLAxyKPN/RIaiwAsejDONS mg/Ynarxb5wYMlUKJ5+VTeTp/eZxuABKXc8kgUjhBHrFnZHSqxhN9mtz7emukCD/4vt/ pwDw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1725947811; x=1726552611; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=kTuEPCsEvs5kLo9QXLzwPbMasTm4z0Tp5r0GXCVgC5w=; b=aSPJFpT2Pt+zgAA+QhdiB/nm4ckAwjRfy/Gh3ZIX1l0Z7fb5kj+u6inMrMwPfcKFLj hOSORNJDzCMp4dJsshAtszuGVpDv8wVUX7VlCQTyN2/gtla4yW6QhQZZ6T1QeKpXXPxj bb6SMzVeEqaZTTWZxZrADLaOhhFomOSxcsqOFaHe3bIRt4OFWcVt14u3StqFOZciEJOH rQYAGllvudCScg/JBqCr/6wprBVjmmF5zbip7o/uPcTHucG4mEAACWX2a6SZVQEr83xc 7FNL2HQ/CwZ9d2T33vsuEpntEG6XdtdDj637aulP6vK1yJ572+ov+mtxbHeaJI3DHQtT kc+g== X-Forwarded-Encrypted: i=1; AJvYcCXrf1MAPzlXHpJ3t1wQqJgqe2gkpxkdpUmr5r1dv9LLgTUbSfqG1kdKFfiT80zd19A0DvPneofLMzoeB8w=@vger.kernel.org X-Gm-Message-State: AOJu0YyfW9XgqvyEZSCg1QFSnKfO3L80ct5kwUIgQBVgeydEyBUfyrTv Rpop1fDoqdWhUCfTyx8nkBNp62jlc29xoGM0+yAqX02Bka/azzHE62Ea0e5Q X-Google-Smtp-Source: AGHT+IEd1VeuG+3jd8pYxy3zXrLRd9/TYTG51IqxtY9M54Ar+hVZU8DUNEVXhmTzAFlKoegFm+dXAA== X-Received: by 2002:a05:6402:2747:b0:5c3:c254:fcbf with SMTP id 4fb4d7f45d1cf-5c3dc785e76mr10741639a12.4.1725947810386; Mon, 09 Sep 2024 22:56:50 -0700 (PDT) Received: from matrix-ESPRIMO-P710 (p200300c78f2a8598b80c2d4e9a813f29.dip0.t-ipconnect.de. [2003:c7:8f2a:8598:b80c:2d4e:9a81:3f29]) by smtp.gmail.com with ESMTPSA id 4fb4d7f45d1cf-5c3ebd76efbsm3822547a12.67.2024.09.09.22.56.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 09 Sep 2024 22:56:50 -0700 (PDT) Date: Tue, 10 Sep 2024 07:56:48 +0200 From: Philipp Hortmann To: Greg Kroah-Hartman , linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org Subject: [PATCH 02/11] staging: rtl8723bs: Remove unused function rxmem_to_recvframe Message-ID: <1016603607501abe08334f9577728dd3c4209572.1725826273.git.philipp.g.hortmann@gmail.com> References: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Remove unused function rxmem_to_recvframe and its comment. Signed-off-by: Philipp Hortmann --- drivers/staging/rtl8723bs/include/rtw_recv.h | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/drivers/staging/rtl8723bs/include/rtw_recv.h b/drivers/staging= /rtl8723bs/include/rtw_recv.h index c93594f75436..18dd1464e0c2 100644 --- a/drivers/staging/rtl8723bs/include/rtw_recv.h +++ b/drivers/staging/rtl8723bs/include/rtw_recv.h @@ -444,16 +444,6 @@ static inline u8 *recvframe_pull_tail(union recv_frame= *precvframe, signed int s =20 } =20 -static inline union recv_frame *rxmem_to_recvframe(u8 *rxmem) -{ - /* due to the design of 2048 bytes alignment of recv_frame, we can refere= nce the union recv_frame */ - /* from any given member of recv_frame. */ - /* rxmem indicates the any member/address in recv_frame */ - - return (union recv_frame *)(((SIZE_PTR)rxmem >> RXFRAME_ALIGN) << RXFRAME= _ALIGN); - -} - static inline signed int get_recvframe_len(union recv_frame *precvframe) { return precvframe->u.hdr.len; --=20 2.46.0 From nobody Sat Nov 30 10:29:14 2024 Received: from mail-ed1-f44.google.com (mail-ed1-f44.google.com [209.85.208.44]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 9EAFF16DEA7 for ; Tue, 10 Sep 2024 05:56:58 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.44 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1725947820; cv=none; b=i2GC+62xvh3Y1LsCag53blLUppXL5zTcLLVt1+DYUEf0aWSWALbwAEsbfF2gqzXFGKSfCJsOfCbZw3ZajcWV+DfCBy/wTlfLVTXro8VwZV2r/yCmPqXT22JNDT+SuuckhlMe7vEgS9tepMS0UcEivLCMOm8A0CHxiVuj6lV38sk= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1725947820; c=relaxed/simple; bh=IaP9rFQ/bolbuckaldqglihw4sOfdbU6LO82Iy93xPM=; h=Date:From:To:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=Mrv92N3PlAELchfz7HSnvWZhSib4GYFA//uRUo8S3rZdSdayjRU4i2THLGoP/UVwR9fn5w2nvoDNaVTdq56ZIlV4yrZLkOkpOqLMOKAyMiXxFWq62vJnBtRhDSVsUmhln67PfdUOg8ebaGWHEL7o7arq9FPjoqtpamBl3x92LzY= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=ghmOzMUI; arc=none smtp.client-ip=209.85.208.44 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="ghmOzMUI" Received: by mail-ed1-f44.google.com with SMTP id 4fb4d7f45d1cf-5c263118780so465226a12.2 for ; Mon, 09 Sep 2024 22:56:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1725947817; x=1726552617; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=YbgCb22kbv4qLXX4/sAXCT5ymhU0wUo6KWoE+VslriY=; b=ghmOzMUI31Z4JVKECnqevM3EBNDVl384QIEBLRxNgydfHhNRC74OKOL8SNGaKimIIu FKBtC7i02JUUHojFvoDqZ6DRDpasXZTqKbwsV+36IbHMnCFpCMnw6BGZFpRbiueAKEXn +CpXowh57kazwsHc1jZS+6jMooQRplP5/usYVJ+L20Hjg+NQxb+iamtFBe+9SU8z75bA +kdGse4cY4V7jZXSriZySzaaZwFAezlkCrGKhZuwhAO9qMLArtLRu36/Jjau1bMRzYK2 JSEFLceI5evo+tLgsj6wnfAnIqGJhY2kkUrPahtLzfNrNjGYgeXWFEmcdpUjLZR5JOTA lDoA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1725947817; x=1726552617; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=YbgCb22kbv4qLXX4/sAXCT5ymhU0wUo6KWoE+VslriY=; b=RgFZanHQjWgmHExyLSJ0FCXMBjrKcQdveBs5ufKjm218IAuFHi0kdfR1bnCJbSxDpZ yMV5B8EXKRBCpS9J1CzmwmUgwrmr6ll1kITvucVx8c+NdQp/oWcDzoB108bkID095mH6 YWPOr5Kb5MqjdXJnGh5CCmdvlK0xb1iSmiQmM1pqZaBQJwEZBVhA66CgCI5EFh4qbkx3 YXZSNA6w3b08Ch45mL17iDF0P/cTWpgPvcRWfUHheZZ1Ka5lfoRWGOS02HeTbK09Hsif NpDrakG3bD6ly0jiDoXxYt2Q/86A6SE0xMVpBvuN78hcEARRCAD73ro97M0sLAfaiApX mj1Q== X-Forwarded-Encrypted: i=1; AJvYcCUBbqiUyTfvwj7r1nZQI0GNjF8woKsIKr8jdM57xdMR6n6jJ5nYl9pZfQR3jD4DztMWeYcYm6Dtazaa7+s=@vger.kernel.org X-Gm-Message-State: AOJu0YwCImnXbjdjx269mMrmJPv5ZLUvM8HZGRI8dvGbSNKOLMDxPtqp McRhUyMAhyYDyZQeipDSZ4hb5PfdFdNkB60ASYImkbvEfcA2ved8AWJ2rrLB X-Google-Smtp-Source: AGHT+IH7qXddiqCgKss0Z6iVsTYJRLpkuqBq5dOErR5g9io/RRsaWo1dBSyE5hmBP+2L1OzxFUMBNw== X-Received: by 2002:a05:6402:5108:b0:5c0:903e:963a with SMTP id 4fb4d7f45d1cf-5c3dc7c0012mr8703846a12.29.1725947816924; Mon, 09 Sep 2024 22:56:56 -0700 (PDT) Received: from matrix-ESPRIMO-P710 (p200300c78f2a8598b80c2d4e9a813f29.dip0.t-ipconnect.de. [2003:c7:8f2a:8598:b80c:2d4e:9a81:3f29]) by smtp.gmail.com with ESMTPSA id 4fb4d7f45d1cf-5c3ebd76f96sm3777102a12.74.2024.09.09.22.56.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 09 Sep 2024 22:56:56 -0700 (PDT) Date: Tue, 10 Sep 2024 07:56:55 +0200 From: Philipp Hortmann To: Greg Kroah-Hartman , linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org Subject: [PATCH 03/11] staging: rtl8723bs: Remove unused function rtw_hal_get_odm_var Message-ID: References: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Remove unused function rtw_hal_get_odm_var. Signed-off-by: Philipp Hortmann --- drivers/staging/rtl8723bs/hal/hal_intf.c | 6 ------ drivers/staging/rtl8723bs/include/hal_intf.h | 1 - 2 files changed, 7 deletions(-) diff --git a/drivers/staging/rtl8723bs/hal/hal_intf.c b/drivers/staging/rtl= 8723bs/hal/hal_intf.c index 7e3db8d3c910..b66c02cd1c82 100644 --- a/drivers/staging/rtl8723bs/hal/hal_intf.c +++ b/drivers/staging/rtl8723bs/hal/hal_intf.c @@ -160,12 +160,6 @@ void rtw_hal_set_odm_var(struct adapter *padapter, enu= m hal_odm_variable eVariab padapter->HalFunc.SetHalODMVarHandler(padapter, eVariable, pValue1, bSet= ); } =20 -void rtw_hal_get_odm_var(struct adapter *padapter, enum hal_odm_variable e= Variable, void *pValue1, void *pValue2) -{ - if (padapter->HalFunc.GetHalODMVarHandler) - padapter->HalFunc.GetHalODMVarHandler(padapter, eVariable, pValue1, pVal= ue2); -} - void rtw_hal_enable_interrupt(struct adapter *padapter) { if (padapter->HalFunc.enable_interrupt) diff --git a/drivers/staging/rtl8723bs/include/hal_intf.h b/drivers/staging= /rtl8723bs/include/hal_intf.h index 5cffab2d06ff..efdd1f912b5d 100644 --- a/drivers/staging/rtl8723bs/include/hal_intf.h +++ b/drivers/staging/rtl8723bs/include/hal_intf.h @@ -301,7 +301,6 @@ u8 rtw_hal_set_def_var(struct adapter *padapter, enum h= al_def_variable eVariable u8 rtw_hal_get_def_var(struct adapter *padapter, enum hal_def_variable eVa= riable, void *pValue); =20 void rtw_hal_set_odm_var(struct adapter *padapter, enum hal_odm_variable e= Variable, void *pValue1, bool bSet); -void rtw_hal_get_odm_var(struct adapter *padapter, enum hal_odm_variable e= Variable, void *pValue1, void *pValue2); =20 void rtw_hal_enable_interrupt(struct adapter *padapter); void rtw_hal_disable_interrupt(struct adapter *padapter); --=20 2.46.0 From nobody Sat Nov 30 10:29:14 2024 Received: from mail-ed1-f42.google.com (mail-ed1-f42.google.com [209.85.208.42]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 407E6170A22 for ; Tue, 10 Sep 2024 05:57:08 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.42 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1725947830; cv=none; b=Bd6ciG0fvTr3tVWuB8wfvUFwzPMCpife6h4i1hHKrYjnYbAsR3E7AdzZJz8qxSYFN2djqOe31i8v5pWPP+EYzisYBWvfg07twviGENXajllekd3ueCTbzJaaAKuUMm4CLK8hhcZRDywz8Kkym3CrMMvC68DyLuyfvmjERbCUhgs= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1725947830; c=relaxed/simple; bh=harbIYjXIZwZ3f9EI2mZbHpqQsWOwp5H5uP9TKWqfmY=; h=Date:From:To:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=sHWkOvTBTqTGXDLIuD5pJ13TAkFz6IRYi/G2qfkWgL1mzUyw19L1b0uIQ4h1YDNGP2wmVpbVQtIq0Nfmka03wYh8TxGqeAhUyPbE4uIgUju/o2moY45ch/NenQmFOpIONafzaswP3VTMIJRlGd76dz3GtnaUUilWtQ80ORgPp5Q= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=Ygb64N7Q; arc=none smtp.client-ip=209.85.208.42 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="Ygb64N7Q" Received: by mail-ed1-f42.google.com with SMTP id 4fb4d7f45d1cf-5c27067b81aso5151675a12.0 for ; Mon, 09 Sep 2024 22:57:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1725947827; x=1726552627; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=MkRMGz03AT/YTFzfsR/jm+HeaG3fV/KjabHJTPqNwHA=; b=Ygb64N7QgWVk/trjPMHI/JYVfisY11kVKCnQjhYBJqhMBvRdbYU8Ahzl68a3xwtwQc Wr6Oxiidwb/KHoWrmNRZPs8Z6+mpb4k/jBm8pyKaDBz0B4u3eBM80ZMj1OgT1COCSaPR R8v0WyYhonGEmS0KtwlvbQ4Lnpsd9aufV24tek4LqKFuV2CdWYlJcrxraCDOYc1bs+Sv wRJrYaRV8DJn+Z6fLMcspbJGxNsWbuoagTSjkWdAbeUmpZTxls0AsVywnem/5pc1NKKD HfeBhbuDagUr52/ScClIQBtpSMIcgcFMEl3DcmdXPOU3uMhYfXxxUQ/JErmT5IuhQ6zs JWhQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1725947827; x=1726552627; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=MkRMGz03AT/YTFzfsR/jm+HeaG3fV/KjabHJTPqNwHA=; b=AAhnAi/W8NzGgs4Fw7pewy5GVuXg2edXP9xsNdb2+e5ZimPHsyRwFHXZzb1l0khyKL qsjY/v+4IPk2r3bF+oCH3mMzXoXaeKV5rbF5W0fQkJ1aXWbY0QFvOx+3icmrO7D1eZ9S oUXl0uTwweLEjUkV2t6r7y/iciYGYOhbWiRnK8zb6ngycaS9OY3vEQvFOh2TBNxDmfD6 XvxYhObsQ/RdTBl76r0GL5jkO5g5sAOATUBUwt8kAvwSTTkanwdiz/3awxRId23COcd1 OuE0UV52JDiWceQXmDIcp74odK8TSDim8kFYrBRNasiw4wHTyDOBRSxYCbSMm7DbG2Zw sWKA== X-Forwarded-Encrypted: i=1; AJvYcCWri5ap4uG6pqckd2pcOKmhEoWoBdoMq3oZsgoP8NXVp9EmUWh+lHU5fr80ILrNT8UTW2zAkstQ5sQ7aEk=@vger.kernel.org X-Gm-Message-State: AOJu0YxjUPnox6vXZzNPFYpu3Zl1Zjigo7ZS7DFk4EtrrqpoCqHQygTh tBU0PV7LmCCuImUaUnTgU31myOLpxzVMRPCrGRI0FOwu6fhSi2Sg X-Google-Smtp-Source: AGHT+IELoHCk2IUFrT/OdX5Le88nXVMstZNV1Q3L4CqyFVIMScSVaRJU0d8a2Tkg2j9qkRsHdOuEQA== X-Received: by 2002:a05:6402:35c4:b0:5be:e01c:6b5c with SMTP id 4fb4d7f45d1cf-5c3eabff535mr5954007a12.4.1725947827522; Mon, 09 Sep 2024 22:57:07 -0700 (PDT) Received: from matrix-ESPRIMO-P710 (p200300c78f2a8598b80c2d4e9a813f29.dip0.t-ipconnect.de. [2003:c7:8f2a:8598:b80c:2d4e:9a81:3f29]) by smtp.gmail.com with ESMTPSA id 4fb4d7f45d1cf-5c3ebd468fesm3851492a12.39.2024.09.09.22.57.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 09 Sep 2024 22:57:07 -0700 (PDT) Date: Tue, 10 Sep 2024 07:57:05 +0200 From: Philipp Hortmann To: Greg Kroah-Hartman , linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org Subject: [PATCH 04/11] staging: rtl8723bs: Remove unused function rf_reg_dump Message-ID: References: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Remove unused function rf_reg_dump. Signed-off-by: Philipp Hortmann --- drivers/staging/rtl8723bs/core/rtw_debug.c | 11 ----------- drivers/staging/rtl8723bs/include/rtw_debug.h | 1 - 2 files changed, 12 deletions(-) diff --git a/drivers/staging/rtl8723bs/core/rtw_debug.c b/drivers/staging/r= tl8723bs/core/rtw_debug.c index 5354fdd11c9b..33d27680a276 100644 --- a/drivers/staging/rtl8723bs/core/rtw_debug.c +++ b/drivers/staging/rtl8723bs/core/rtw_debug.c @@ -55,14 +55,3 @@ static void dump_4_rf_regs(struct adapter *adapter, int = path, int offset) netdev_dbg(adapter->pnetdev, "0x%02x 0x%08x 0x%08x 0x%08x 0x%08x\n", i, reg[0], reg[1], reg[2], reg[3]); } - -void rf_reg_dump(struct adapter *adapter) -{ - int i, path =3D 0; - - netdev_dbg(adapter->pnetdev, "=3D=3D=3D=3D=3D=3D=3D RF REG =3D=3D=3D=3D= =3D=3D=3D\n"); - - netdev_dbg(adapter->pnetdev, "RF_Path(%x)\n", path); - for (i =3D 0; i < 0x100; i++) - dump_4_rf_regs(adapter, path, i); -} diff --git a/drivers/staging/rtl8723bs/include/rtw_debug.h b/drivers/stagin= g/rtl8723bs/include/rtw_debug.h index 7f96ff66915f..f70da9cc66f8 100644 --- a/drivers/staging/rtl8723bs/include/rtw_debug.h +++ b/drivers/staging/rtl8723bs/include/rtw_debug.h @@ -9,6 +9,5 @@ =20 void mac_reg_dump(struct adapter *adapter); void bb_reg_dump(struct adapter *adapter); -void rf_reg_dump(struct adapter *adapter); =20 #endif /* __RTW_DEBUG_H__ */ --=20 2.46.0 From nobody Sat Nov 30 10:29:14 2024 Received: from mail-ej1-f50.google.com (mail-ej1-f50.google.com [209.85.218.50]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 1DF9E175D5A for ; Tue, 10 Sep 2024 05:57:16 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.50 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1725947838; cv=none; b=hCjr2BRZ0oZdswzOh0FZCM08JwqWAQ3rE7Fi48UBfzARtzNEQsaysT4Q0GvmjMJE5RHb2PYdzkQcA97yUaio390v3pfdLw95nJSjblkr5IkAXO+BL78r28ZIonl3E63c+TR4eayOL2v8tWx5QQLpyBU2R2Q7mDlt8TshLVjwgY0= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1725947838; c=relaxed/simple; bh=GjD1+cqrYDDCv9oW4pmBoO7f61jaeoVA19IC4+k5neg=; h=Date:From:To:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=ZWK+WkUOXif2+aB6QGXLMREtrR+01gqWXc/w6fTS9I/brIsVheH/NuxFjCavc3rbFcDehs4zKoQW4B2VjrHtPJqU9AIFbRw7lV8aT7TlOLg3K3dUjgNBDf3pV9VTzfijtuEhpuvInwKg7raivS0DjJzvEgfSrf65mhwMiPu9uR8= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=FC6x/GlP; arc=none smtp.client-ip=209.85.218.50 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="FC6x/GlP" Received: by mail-ej1-f50.google.com with SMTP id a640c23a62f3a-a83562f9be9so24441066b.0 for ; Mon, 09 Sep 2024 22:57:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1725947835; x=1726552635; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=tePldyBpNEa31DXvu0Aldal89bpR30+3gXC9Cqz0/Pg=; b=FC6x/GlPXjqv+SWPNJEKAbhE1Zp6NT5h9FkIKbqiZys4qRb9cY58yChi05HK5Nx+sN NuGUOnMqf8wFInghoFj+2f81IJ0CVfJF/0JOe8Aw3PebsdpHnMoscy4gWYhS204Jsegp T23nrJyyL5vQRe5ozWtIXtCrlkXLVbGu23RX53jBlvq+/ek7quJkpk7hj06ZrFYVyXMw nx87TaCtdIAlKgsP3bBX5sLtpnQEjvT2uqwSJUfIdv+UrPo9f0O8Iku+AwflxoXdnYta RsPWLVQaHCrzQ5jy3QlJwdDZdhWuV4YjWZph9MztqugpJ5xdEe1Oh0EhNNXoV+RxwZgo dGpQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1725947835; x=1726552635; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=tePldyBpNEa31DXvu0Aldal89bpR30+3gXC9Cqz0/Pg=; b=EHo1cooJ6/f4howGs6q5CpEIxqR0id5oKmFILX5DljqL3ZpR641HVS0h8dEB6F+gjA UXXbGlToChld+tY5zPb/Rw05VgxlEzYX5jIuuzMvGAWhnWH44vD+tykplvV5rH2X9Ir3 uNUHThzDELl3CXgwfCZv7Iq6sb+lHdPoh3YbJS4iF92ORBWoDqc8GOFdRgdnUJlDbwRg z0EJcOT339Y5Gl99cbIBMA4CjS18HDHLOUa/GqWWlyt6JyRHnxGlhLt0/OglDAJTknL9 m/airV00Ukkcb2FPiM8EXRixcsqVHJSVyMRZrKQdBWro/Z/LlWsJylu4WmDxh1p0bA4f /4kg== X-Forwarded-Encrypted: i=1; AJvYcCUCTtXJ7d3OdHFx94IIU00eSskUtazl+Gx/DjI361rprCbM23PKrMrNFoh4ANr535BJqfXf8hpt1R5+OWQ=@vger.kernel.org X-Gm-Message-State: AOJu0YxXO4FB0VjgF9LezQ7nDTMxqztKVwEHyzpkpM/ogHVk2JSlA3Rp y7WQvTtncd9SIsFnbkKWM6cI2psNjB9IWVdMu6yQxiiSG8iYUOI6OGOMY92a X-Google-Smtp-Source: AGHT+IHV4mjA4sC8rik5Mjnzo6idwKMvwTYeBLZTq5jHvy7NLw1Dt9UcveafTnEQ+1cqw1/YByl+Ug== X-Received: by 2002:a17:907:9346:b0:a8a:809b:14ed with SMTP id a640c23a62f3a-a8a88856872mr967993366b.44.1725947835332; Mon, 09 Sep 2024 22:57:15 -0700 (PDT) Received: from matrix-ESPRIMO-P710 (p200300c78f2a8598b80c2d4e9a813f29.dip0.t-ipconnect.de. [2003:c7:8f2a:8598:b80c:2d4e:9a81:3f29]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a8d25d65742sm430765066b.216.2024.09.09.22.57.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 09 Sep 2024 22:57:15 -0700 (PDT) Date: Tue, 10 Sep 2024 07:57:13 +0200 From: Philipp Hortmann To: Greg Kroah-Hartman , linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org Subject: [PATCH 05/11] staging: rtl8723bs: Remove unused function dump_4_rf_regs Message-ID: References: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Remove unused function dump_4_rf_regs. Signed-off-by: Philipp Hortmann --- drivers/staging/rtl8723bs/core/rtw_debug.c | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/drivers/staging/rtl8723bs/core/rtw_debug.c b/drivers/staging/r= tl8723bs/core/rtw_debug.c index 33d27680a276..0edd7b6e4f21 100644 --- a/drivers/staging/rtl8723bs/core/rtw_debug.c +++ b/drivers/staging/rtl8723bs/core/rtw_debug.c @@ -42,16 +42,3 @@ void bb_reg_dump(struct adapter *adapter) for (i =3D 0x800; i < 0x1000 ; i +=3D 4) dump_4_regs(adapter, i); } - -static void dump_4_rf_regs(struct adapter *adapter, int path, int offset) -{ - u8 reg[4]; - int i; - - for (i =3D 0; i < 4; i++) - reg[i] =3D rtw_hal_read_rfreg(adapter, path, offset + i, - 0xffffffff); - - netdev_dbg(adapter->pnetdev, "0x%02x 0x%08x 0x%08x 0x%08x 0x%08x\n", - i, reg[0], reg[1], reg[2], reg[3]); -} --=20 2.46.0 From nobody Sat Nov 30 10:29:14 2024 Received: from mail-ed1-f45.google.com (mail-ed1-f45.google.com [209.85.208.45]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 7BA3C17332A for ; Tue, 10 Sep 2024 05:57:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.45 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1725947851; cv=none; b=aNxG0hTurE/ic54SuC8nkacA6zVMES3onuXP5AG5sQBi0C5s4S02lyn+W9cjWlxR8XvggLIUT/kz+2ZkD/vMzDdS2UX1esD/7PX2snkcNRrYGCLCwOfFpHdfuOqfYOZtTJCVr87IGtTs3msP57amPMWw7e+61900L9Tc+v3Ymjo= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1725947851; c=relaxed/simple; bh=rFTsmu66W2cqMwlMZm+VZUMWyz1m8yIGCc3H6gMc4sQ=; h=Date:From:To:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=RxQFBtHv6aK0cGe8sCor/K6Uk3pUzevG8jIntAN8M9ELHpGy7NwoaYI5IqplDdhPO4FZqcD2zaUcoAc58I+IyuG75TZBzZUpXw+38IbyvnO+/B+WijZy+U7h5udc65kTglYLr6h7bHbmaRM0WC6YgDZHLiCy4sgu3fjfScayCZk= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=bsCiOGZ/; arc=none smtp.client-ip=209.85.208.45 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="bsCiOGZ/" Received: by mail-ed1-f45.google.com with SMTP id 4fb4d7f45d1cf-5bef295a429so5708779a12.2 for ; Mon, 09 Sep 2024 22:57:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1725947849; x=1726552649; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=JenHvR0jRUJvf+xKQyKoB5pvp6Qm0Xj5l28apEXo82Y=; b=bsCiOGZ/mNZJybxaUL2czbOyrGiNm6//ihug7fVnH9ubVoVEjWfXd7/9cFi7bv9z+r UdIcWCIw+hjwgsCH4wjZXGWOckaPGwJDWbXGRYZ5Tw6lJZ9k7greu4dp2p07eagJWsKC 08U0g8ZEuGc4SNsLoXG+AfWmLeDVZRNG/q8PWqOubUQXSpSKGorzASauzXKn5FOjhORD Kx9pcdKeae+R0btCwMt9hs6pvVkgGE4z8YXrHTq7cCEcgNIDpyrvo4rfQiz4RcI2aHSK Bn+cSOD6d0+FAM1a+A2gCAAGtyXUNwNYshsGOwS0iRLpKqwEKXvNNeqlEzRfWgUpZNQb M87g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1725947849; x=1726552649; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=JenHvR0jRUJvf+xKQyKoB5pvp6Qm0Xj5l28apEXo82Y=; b=DZR9OgtVrQ2NK86M9Vhc+HvKUifmjim2mwhydbmOzRxLY0lEWLk0CT6u9x1VHrsuYt 7iXlsTYu8lNvLNfM9BMfGisie8B75/CENLRYNXGO7NA7ejbPaTIuNJyrGQFdyNpstQNr j0xDri9tKuysMgVEHCCR11/6fIN2W8L7KLEAeBhhzkidzYdOgeS9bu+qeNO57fZ43USm /2YuwaaTdaVZykuDOMivRddkRDZt84L4skwq5TKhNpMT96LfzbJWVbXh9xKwOJ/BzYQH neGN0JLTQoHZ2hFPD83C88i977ll26P0WgzbqEmxmbQDN3bDto5xqPPnmBHQ5IhyZ9LD 8cbA== X-Forwarded-Encrypted: i=1; AJvYcCWkUD6gbNfaK2U6GgNJ8B6vuLEHPtH4aNCx9u92wdCN9VnvVOfYNH5fq6f7VQ8hZ5o2RgHnVkRsMufGBMI=@vger.kernel.org X-Gm-Message-State: AOJu0YztqcQlGePWRJSRqg5fz16VsxjKEnb16KgyVYXMmgJoN8qC1ZZr QhtGYA0XjXG546EG3JhINa9DhVNZpNu/42QPQFyrA9ltupRJoce759I0n5+O X-Google-Smtp-Source: AGHT+IHIMKip8upzlZGqt7QrER3Dr1PwTFF7DwidiZZOaZeCbrp21Lq2EdYqhnyTfvtp91TXDHgY4Q== X-Received: by 2002:a17:907:782:b0:a7a:acae:3415 with SMTP id a640c23a62f3a-a8a885c3a7bmr1105740966b.10.1725947848806; Mon, 09 Sep 2024 22:57:28 -0700 (PDT) Received: from matrix-ESPRIMO-P710 (p200300c78f2a8598b80c2d4e9a813f29.dip0.t-ipconnect.de. [2003:c7:8f2a:8598:b80c:2d4e:9a81:3f29]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a8d2592647esm432513666b.48.2024.09.09.22.57.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 09 Sep 2024 22:57:28 -0700 (PDT) Date: Tue, 10 Sep 2024 07:57:27 +0200 From: Philipp Hortmann To: Greg Kroah-Hartman , linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org Subject: [PATCH 06/11] staging: rtl8723bs: Remove unused function bb_reg_dump Message-ID: References: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Remove unused function bb_reg_dump. Signed-off-by: Philipp Hortmann --- drivers/staging/rtl8723bs/core/rtw_debug.c | 10 ---------- drivers/staging/rtl8723bs/include/rtw_debug.h | 1 - 2 files changed, 11 deletions(-) diff --git a/drivers/staging/rtl8723bs/core/rtw_debug.c b/drivers/staging/r= tl8723bs/core/rtw_debug.c index 0edd7b6e4f21..e5a4baf1b78b 100644 --- a/drivers/staging/rtl8723bs/core/rtw_debug.c +++ b/drivers/staging/rtl8723bs/core/rtw_debug.c @@ -32,13 +32,3 @@ void mac_reg_dump(struct adapter *adapter) for (i =3D 0x0; i < 0x800; i +=3D 4) dump_4_regs(adapter, i); } - -void bb_reg_dump(struct adapter *adapter) -{ - int i; - - netdev_dbg(adapter->pnetdev, "=3D=3D=3D=3D=3D=3D=3D BB REG =3D=3D=3D=3D= =3D=3D=3D\n"); - - for (i =3D 0x800; i < 0x1000 ; i +=3D 4) - dump_4_regs(adapter, i); -} diff --git a/drivers/staging/rtl8723bs/include/rtw_debug.h b/drivers/stagin= g/rtl8723bs/include/rtw_debug.h index f70da9cc66f8..9948fd0f7e91 100644 --- a/drivers/staging/rtl8723bs/include/rtw_debug.h +++ b/drivers/staging/rtl8723bs/include/rtw_debug.h @@ -8,6 +8,5 @@ #define __RTW_DEBUG_H__ =20 void mac_reg_dump(struct adapter *adapter); -void bb_reg_dump(struct adapter *adapter); =20 #endif /* __RTW_DEBUG_H__ */ --=20 2.46.0 From nobody Sat Nov 30 10:29:14 2024 Received: from mail-ej1-f45.google.com (mail-ej1-f45.google.com [209.85.218.45]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id EC45916DEA7 for ; Tue, 10 Sep 2024 05:57:40 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.45 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1725947862; cv=none; b=pnFRcO91J5E1dkJ67jqquyqojekXy+ZxEuvArkXsYBW4VVvj8zUl/YSR6Xorw0BekQVEYjR1yeHyhvlbqxH8+OStmMSQMocgDW0IxsrISlD87Bg135rCWasZYiTp4fz2HrAF4Hcj/Fcfn32neE4W873NZWq3hUBDYZ/sk0px/gw= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1725947862; c=relaxed/simple; bh=88MdzK35pF009HwgTk+vpadotNtn2mweeut5kECOrTU=; h=Date:From:To:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=mKN494jpQYGvVeiZHNiFMo79rYWxhPJr+wMQi5eIDYK4gGBry4orBaPSOXyL5cQez6SjUCm2l7UkG0z/RpYnVEuNth1m3r36HgGE7t123WAWZqiJfLQtXydTsXkF4Y+Pil/fQk64RF8BdZtccjmCNpN0k00zLYCKfs4Lepx29u4= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=P/K/drWs; arc=none smtp.client-ip=209.85.218.45 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="P/K/drWs" Received: by mail-ej1-f45.google.com with SMTP id a640c23a62f3a-a8d4979b843so308061166b.3 for ; Mon, 09 Sep 2024 22:57:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1725947859; x=1726552659; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=0qZhPDdZQMhy2lcFy03oOkPowW/yGJnrN+PDGUtF53A=; b=P/K/drWsZjDiCKMPQnralsKP8SaoRFb/92LSevIHw6FfT9SGnAoNV3JIqFsWxcgWoD M9JF7yODTRkSjDGVt7fNeG+GXiLEFSfRGLsAXk6KXUk5VbbYewA2n9ZFHQMdXZYasg5x QXYSYWHVI/VC2zjsMYnrlhK4C5vmTRVABEyj63o6dvpgusZPCn2CjoKfgoBJnh8EkF6R qtpHmWD2UylyCEEpBecE19G18XH+HSOBh7/vi8mimGIoAftGJUlbUlDZNGy8FWlvUoZc 5LCeoxuWWo4OeQkd0JQAUZWQ4X04Odz2vXLA2lioZtpdf0iFfxNFer0/8pZu/CTcOrB9 9vHw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1725947859; x=1726552659; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=0qZhPDdZQMhy2lcFy03oOkPowW/yGJnrN+PDGUtF53A=; b=AKquXJcwdtcObzVGSZ7ZDlYCCwb0LtX6nAboa6p6ewmGOnHsPCLJu8zbHn1PETEYog jiAFt4Prx+gbjoNhMHrQuBI7OO5OUPyB0qENQJUNqf5Oaxi6Lfa8372drGC1U05AQ5BI NcbkeUP+D/EPVyAlXhWQSFX3jBLTGQTGXwnSPEipgWKtsSdWpB+UR4F/BmCCyNNb2ajj U48SgVOtOGUexmUkLBYUvmSbNR5qEm5hqPAm+7e1zsdJQiVP8mYpKgjECrxK2KOu3RkF vus36bw7NVRz7TS60f95lQsxWqVBw0Gof2WtycvxZd3BcuPMdaVMAmx0jbhSzRpA+6ke n5rg== X-Forwarded-Encrypted: i=1; AJvYcCV+H8SkHfzwBhMcYRMqRQ4mRHpYIxEHngsRRIqzFNe8nGJrPA6INkmBjibgqs1vAb4VODYOC9ItfFfTAFU=@vger.kernel.org X-Gm-Message-State: AOJu0Yw5C1cExBD95S0JffJCqAGaKGFmFMVUmJvg+u7MtKnq3vQ3+WgG C+bd/RUHDIH6nZmDF22ZRDLU3nJCZ0DxlmG98FqYWHksl27QL3gU X-Google-Smtp-Source: AGHT+IFxP7HYZREKwbvwJ28zJ8beb/6B356d4GuWn2Cr0EUFv/Zb6zwv3IHC7ygQmOWDa/AnGqjKAg== X-Received: by 2002:a17:907:5cd:b0:a7a:8c55:6b2 with SMTP id a640c23a62f3a-a8a885fb74dmr1484410066b.14.1725947859185; Mon, 09 Sep 2024 22:57:39 -0700 (PDT) Received: from matrix-ESPRIMO-P710 (p200300c78f2a8598b80c2d4e9a813f29.dip0.t-ipconnect.de. [2003:c7:8f2a:8598:b80c:2d4e:9a81:3f29]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a8d25c72e7fsm431020066b.109.2024.09.09.22.57.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 09 Sep 2024 22:57:38 -0700 (PDT) Date: Tue, 10 Sep 2024 07:57:37 +0200 From: Philipp Hortmann To: Greg Kroah-Hartman , linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org Subject: [PATCH 07/11] staging: rtl8723bs: Remove unused function mac_reg_dump Message-ID: <80e89052b30d8c495f375e43fc4c1deeea75a624.1725826273.git.philipp.g.hortmann@gmail.com> References: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Remove unused function mac_reg_dump. Signed-off-by: Philipp Hortmann --- drivers/staging/rtl8723bs/core/rtw_debug.c | 10 ---------- drivers/staging/rtl8723bs/include/rtw_debug.h | 2 -- 2 files changed, 12 deletions(-) diff --git a/drivers/staging/rtl8723bs/core/rtw_debug.c b/drivers/staging/r= tl8723bs/core/rtw_debug.c index e5a4baf1b78b..bfce632e037e 100644 --- a/drivers/staging/rtl8723bs/core/rtw_debug.c +++ b/drivers/staging/rtl8723bs/core/rtw_debug.c @@ -22,13 +22,3 @@ static void dump_4_regs(struct adapter *adapter, int off= set) netdev_dbg(adapter->pnetdev, "0x%03x 0x%08x 0x%08x 0x%08x 0x%08x\n", i, reg[0], reg[1], reg[2], reg[3]); } - -void mac_reg_dump(struct adapter *adapter) -{ - int i; - - netdev_dbg(adapter->pnetdev, "=3D=3D=3D=3D=3D=3D=3D MAC REG =3D=3D=3D=3D= =3D=3D=3D\n"); - - for (i =3D 0x0; i < 0x800; i +=3D 4) - dump_4_regs(adapter, i); -} diff --git a/drivers/staging/rtl8723bs/include/rtw_debug.h b/drivers/stagin= g/rtl8723bs/include/rtw_debug.h index 9948fd0f7e91..c417a26de166 100644 --- a/drivers/staging/rtl8723bs/include/rtw_debug.h +++ b/drivers/staging/rtl8723bs/include/rtw_debug.h @@ -7,6 +7,4 @@ #ifndef __RTW_DEBUG_H__ #define __RTW_DEBUG_H__ =20 -void mac_reg_dump(struct adapter *adapter); - #endif /* __RTW_DEBUG_H__ */ --=20 2.46.0 From nobody Sat Nov 30 10:29:14 2024 Received: from mail-ed1-f50.google.com (mail-ed1-f50.google.com [209.85.208.50]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 842C8171088 for ; Tue, 10 Sep 2024 05:57:47 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.50 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1725947869; cv=none; b=UONGf1A+DNkrErvj1jMhtFE04TTRCiAVj00P6h4rWdiqAGtatJZmgFvmuSxuv7mVCCs67rDaMGD6kYtoGvcaSUuzZAe4JKEi+RYS2ILdG/DJUA/a3Nxufdz3u+ibTy0G0rRD4vtvcjhGRbEdxS4jXEiA3TZCLsMV7AmuRkaC9Hk= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1725947869; c=relaxed/simple; bh=mDWCdtQECaft6UyFnxKuWLNVPoT/Ykv8dg63XdEYIJE=; h=Date:From:To:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=SUwcoqP6DefThwgtbP6sS2UwS37vEYT+dQqjAgFm/GOgJ1C6bBEt/t3c1bdNGRvjyAlAOAF7CghQZExpKSgEdTrFvtNIv8KbGpasYFJq8qQU0Zt3xqasql1OGFLJjj4Vf7kzoxyXCz1JPvSXPWy8x/bblPzYi9fNGdXiATPGBYw= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=mhhp4EHP; arc=none smtp.client-ip=209.85.208.50 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="mhhp4EHP" Received: by mail-ed1-f50.google.com with SMTP id 4fb4d7f45d1cf-5c241feb80dso11733352a12.0 for ; Mon, 09 Sep 2024 22:57:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1725947866; x=1726552666; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=AXNNB2F38kuYNsFyFx8FeC4ii8KpvQhpKnyoK0gzIHI=; b=mhhp4EHPF6LZBlARBtxC25Ms0vLLFTHJhxCgqBW0PwDEB+IIrHODT1PKmnXjDMDLer i7jrznpZQd+oxm2oAe3kXo9nbatWpVyGpFcSB7tPRm2u7O6U9rHhDxEXihFHgClWBmhu P2JZEwxqvlc82qAo1vdZN+9QPo6QBzcQh9Z5iEsnviqZQ7e0tJIGpdt8Tr/gPPL0e7wc rQIrIT0TdRySGwB4FAzQ5xiIpo8v0XUVCIRFUsGDY526Z3DEs+YRsnw42rkXs309iTex 9UGlLEY81VMHH3ODSBwfEv/OaW3il7riRqhj2LiYxLP1nV8tRQXtDqYkJz5uIWQsy7LF SwBg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1725947866; x=1726552666; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=AXNNB2F38kuYNsFyFx8FeC4ii8KpvQhpKnyoK0gzIHI=; b=aQ+QdDqrlj6UGJp+5c/ZPNnNrf6Et3SlZEr6dxQylh9ItAs2dw1Jb7NZVX8dgd7/rn 59m0AB7tAsz8CPyUWrumKUMw5PWWdotkhSvgHaQO2jpaVJKTS6wPQdYEFVkdHS9fd6SZ 9AtYunUbak1h4Vt6kYeN8QNU3M+FLi56WhLeaEz6wSHRPqRHQowzbL204quIuXmq59bZ S2qFGBz0aqQ3q6mTw+rdNWHkGS8utwzpNGXJE4bhRIDkvUP8UvFmRrMhVuUmg0JLuINA lcmq6mrajwHYYGU+QpADt+yDtX8MbgjEPV3nQPrzxTqmMqCQfbsSXC28oHHIrPEJvifh sifA== X-Forwarded-Encrypted: i=1; AJvYcCVm5yvAYIeJIe/tEdpqoYIDTtlXKPKDlfz/2UCLwhV1yVfdTv3yj6oenQU86sJLfrS9Awb8L5NmJ10UlXA=@vger.kernel.org X-Gm-Message-State: AOJu0YxvgmVXvucF40Fia+hdWzKcdDKfQl472T1qdchHlJ8ZJTdUecuC 6RYb3+2Lnei7rfXorulyFRLl0rGnjuldvn6g2x4BUqh01DVl1A5qTqrHEC9H X-Google-Smtp-Source: AGHT+IFjODiZQZPml95Fz/+7rGWL/M0myDq5g3Q/4aNYVNWclwKIcU5MTnt6zT482xFtV267nvCdVA== X-Received: by 2002:a05:6402:448e:b0:5c2:4cbe:ac21 with SMTP id 4fb4d7f45d1cf-5c4015dd1f5mr2226407a12.5.1725947865658; Mon, 09 Sep 2024 22:57:45 -0700 (PDT) Received: from matrix-ESPRIMO-P710 (p200300c78f2a8598b80c2d4e9a813f29.dip0.t-ipconnect.de. [2003:c7:8f2a:8598:b80c:2d4e:9a81:3f29]) by smtp.gmail.com with ESMTPSA id 4fb4d7f45d1cf-5c3ebd46909sm3979316a12.25.2024.09.09.22.57.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 09 Sep 2024 22:57:45 -0700 (PDT) Date: Tue, 10 Sep 2024 07:57:44 +0200 From: Philipp Hortmann To: Greg Kroah-Hartman , linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org Subject: [PATCH 08/11] staging: rtl8723bs: Remove unused function dump_4_regs Message-ID: <583ba389a269a11f4c2497ae5152ad8299d88455.1725826273.git.philipp.g.hortmann@gmail.com> References: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Remove unused function dump_4_regs. Signed-off-by: Philipp Hortmann --- drivers/staging/rtl8723bs/core/rtw_debug.c | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/drivers/staging/rtl8723bs/core/rtw_debug.c b/drivers/staging/r= tl8723bs/core/rtw_debug.c index bfce632e037e..fb6cc1d18bba 100644 --- a/drivers/staging/rtl8723bs/core/rtw_debug.c +++ b/drivers/staging/rtl8723bs/core/rtw_debug.c @@ -10,15 +10,3 @@ #include =20 #include - -static void dump_4_regs(struct adapter *adapter, int offset) -{ - u32 reg[4]; - int i; - - for (i =3D 0; i < 4; i++) - reg[i] =3D rtw_read32(adapter, offset + i); - - netdev_dbg(adapter->pnetdev, "0x%03x 0x%08x 0x%08x 0x%08x 0x%08x\n", - i, reg[0], reg[1], reg[2], reg[3]); -} --=20 2.46.0 From nobody Sat Nov 30 10:29:14 2024 Received: from mail-ej1-f42.google.com (mail-ej1-f42.google.com [209.85.218.42]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id CFBCC175D2F for ; Tue, 10 Sep 2024 05:57:53 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.42 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1725947876; cv=none; b=VsGPtecCUSZRHDJ1vVLK4xw03YXUP6HCkRN3joTFl98cLl/JV4pbcp3u+jXEj/14ywU2LuKZI4JyLU/cuaYmzOdAUvb8ebRAj2luvgdZmpFdJaHjZ69hWdzQR4LSEXIVbGycqXOwYH4heGl5IPaqUBI5tZya4C783laNCa7LAiw= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1725947876; c=relaxed/simple; bh=7SeuylvnB8sTpCCvm96/XWU5R0krPVHlpXSp5SF0zEI=; h=Date:From:To:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=Gj1n8It0UjFqkeOTN2qDMd64mvPsaBVC9vEst/zMTFAIvecYk4f3V/4jnKvm41sP7+1L3NaWybOmUyeNbak6eBqZFOvWayD5h04Rb6w9OF/4l3L74KrBWNYxF/RuwEKZLk3rrRbCV/yxFssHsf0hWXv20/YYf0uCclseiKIS0Qk= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=GNJNAMoj; arc=none smtp.client-ip=209.85.218.42 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="GNJNAMoj" Received: by mail-ej1-f42.google.com with SMTP id a640c23a62f3a-a8ce5db8668so562311366b.1 for ; Mon, 09 Sep 2024 22:57:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1725947872; x=1726552672; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=UnCBvYewLoi8x5TNHncL+CzIh6+v3PhoZfJuPVAvTvc=; b=GNJNAMojfil+Z11a2GYeG+Ik41jccJluU8nbcu2k5sIxKGZoFNjg7MnoBvuDRmd48w JeGTEnb17eA0OO5HaB10hoV+fluF8wxRu4opxwHbnyJkSFWO9HvVr8EZGiEydM3VF6RP ntdJHznfFdfyoydnh+V3f1wZJt7rfaIKpSgYcdFuR8HIlEUkIhIlKaNWj5sxopL0vaxf RxDaTdi9+xrHIwjeAT5vd60THCUZi6FjX1BFuvu/vAN67kkJ1fPix2+rId0NqkMNxpYz ReHv0bDVawV5gMwHa4Jc3PQ6SThT/b5H7pVbfoDaGPDJFigNulcxM9yiDzU5O3gXOAzz QhlA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1725947872; x=1726552672; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=UnCBvYewLoi8x5TNHncL+CzIh6+v3PhoZfJuPVAvTvc=; b=k6KayqTcpHEkEhF8hC30IWztWvXozSjc0F+msaLCUhvDrKP1m3nWFz/X7Bke9/xGBM 843B0rqGlbrdEPYbxckAnrkqgloMhBn6NV/NP0YiEjr6LcGFiqhxUTevFELSRZNPaH+4 88SG5tqMg5rjHHCtMC5+ofd7B6tJi8N1CAkUD+sT7uB6j5oLP5j7mGUn808ox9UiDubM 7gBDse2PV1K3t5CW34ychfrbKQkYGm5B+Ryio5jrIznOe2NUKhAivr8ajQ2Pvw+h3bMy GDxHi54qaUzQNSGNt8xyr680z+hYBX/3LfThm49r8/A/TX9HFRXI5VNW7Ftp4cwRV3CA PZgA== X-Forwarded-Encrypted: i=1; AJvYcCUJaJxyBAQaCEHM4Bxn1dMJDMv8j0sM55XuBBI2wEagtSQbmNT2O/05CHTlQdGaMen35hfEj58t8AmfK8s=@vger.kernel.org X-Gm-Message-State: AOJu0Yzhn8RCAXatP923K9m6p4aN+Q1VgMiiB3J6tg4IfB2K7mF1J4fR W/ioI8TBy9Uyni7922tHFlseCZPtrXlDFZlTA5oHA7bVMa2eDVB/ X-Google-Smtp-Source: AGHT+IEdUxv93rTToB5+YLMCQKasbQlmD4p+XFGey2bD3WWof4xToykv+crM0wLmTR1gd8etKvR3qg== X-Received: by 2002:a17:907:7fa1:b0:a86:a866:9e26 with SMTP id a640c23a62f3a-a8d1bf75e94mr1123247066b.3.1725947872029; Mon, 09 Sep 2024 22:57:52 -0700 (PDT) Received: from matrix-ESPRIMO-P710 (p200300c78f2a8598b80c2d4e9a813f29.dip0.t-ipconnect.de. [2003:c7:8f2a:8598:b80c:2d4e:9a81:3f29]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a8d25c72ed3sm431099066b.135.2024.09.09.22.57.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 09 Sep 2024 22:57:51 -0700 (PDT) Date: Tue, 10 Sep 2024 07:57:50 +0200 From: Philipp Hortmann To: Greg Kroah-Hartman , linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org Subject: [PATCH 09/11] staging: rtl8723bs: Remove unused files rtw_debug.c and rtw_debug.h Message-ID: References: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Remove unused files rtw_debug.c and rtw_debug.h. Signed-off-by: Philipp Hortmann --- drivers/staging/rtl8723bs/Makefile | 1 - drivers/staging/rtl8723bs/core/rtw_ap.c | 1 - drivers/staging/rtl8723bs/core/rtw_btcoex.c | 1 - drivers/staging/rtl8723bs/core/rtw_cmd.c | 1 - drivers/staging/rtl8723bs/core/rtw_debug.c | 12 ------------ drivers/staging/rtl8723bs/core/rtw_efuse.c | 1 - drivers/staging/rtl8723bs/core/rtw_ieee80211.c | 1 - drivers/staging/rtl8723bs/core/rtw_io.c | 1 - drivers/staging/rtl8723bs/core/rtw_ioctl_set.c | 1 - drivers/staging/rtl8723bs/core/rtw_mlme.c | 1 - drivers/staging/rtl8723bs/core/rtw_mlme_ext.c | 1 - drivers/staging/rtl8723bs/core/rtw_pwrctrl.c | 1 - drivers/staging/rtl8723bs/core/rtw_recv.c | 1 - drivers/staging/rtl8723bs/core/rtw_security.c | 1 - drivers/staging/rtl8723bs/core/rtw_sta_mgt.c | 1 - drivers/staging/rtl8723bs/core/rtw_wlan_util.c | 1 - drivers/staging/rtl8723bs/core/rtw_xmit.c | 1 - drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c | 1 - drivers/staging/rtl8723bs/hal/HalPwrSeqCmd.c | 1 - drivers/staging/rtl8723bs/hal/hal_btcoex.c | 1 - drivers/staging/rtl8723bs/hal/hal_com.c | 1 - drivers/staging/rtl8723bs/hal/hal_com_phycfg.c | 1 - drivers/staging/rtl8723bs/hal/hal_intf.c | 1 - drivers/staging/rtl8723bs/hal/hal_sdio.c | 1 - drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c | 1 - drivers/staging/rtl8723bs/hal/rtl8723b_dm.c | 1 - drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c | 1 - drivers/staging/rtl8723bs/hal/rtl8723b_phycfg.c | 1 - drivers/staging/rtl8723bs/hal/rtl8723bs_recv.c | 1 - drivers/staging/rtl8723bs/hal/rtl8723bs_xmit.c | 1 - drivers/staging/rtl8723bs/hal/sdio_halinit.c | 1 - drivers/staging/rtl8723bs/hal/sdio_ops.c | 1 - drivers/staging/rtl8723bs/include/rtw_debug.h | 10 ---------- drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c | 1 - drivers/staging/rtl8723bs/os_dep/ioctl_linux.c | 1 - drivers/staging/rtl8723bs/os_dep/mlme_linux.c | 1 - drivers/staging/rtl8723bs/os_dep/os_intfs.c | 1 - drivers/staging/rtl8723bs/os_dep/osdep_service.c | 1 - drivers/staging/rtl8723bs/os_dep/recv_linux.c | 1 - drivers/staging/rtl8723bs/os_dep/sdio_intf.c | 1 - drivers/staging/rtl8723bs/os_dep/sdio_ops_linux.c | 1 - drivers/staging/rtl8723bs/os_dep/wifi_regd.c | 1 - drivers/staging/rtl8723bs/os_dep/xmit_linux.c | 1 - 43 files changed, 63 deletions(-) delete mode 100644 drivers/staging/rtl8723bs/core/rtw_debug.c delete mode 100644 drivers/staging/rtl8723bs/include/rtw_debug.h diff --git a/drivers/staging/rtl8723bs/Makefile b/drivers/staging/rtl8723bs= /Makefile index 7f5067e89295..dbe6ed3b9f0c 100644 --- a/drivers/staging/rtl8723bs/Makefile +++ b/drivers/staging/rtl8723bs/Makefile @@ -3,7 +3,6 @@ r8723bs-y =3D \ core/rtw_ap.o \ core/rtw_btcoex.o \ core/rtw_cmd.o \ - core/rtw_debug.o \ core/rtw_efuse.o \ core/rtw_io.o \ core/rtw_ioctl_set.o \ diff --git a/drivers/staging/rtl8723bs/core/rtw_ap.c b/drivers/staging/rtl8= 723bs/core/rtw_ap.c index 23268ec502a7..e55b4f7e0aef 100644 --- a/drivers/staging/rtl8723bs/core/rtw_ap.c +++ b/drivers/staging/rtl8723bs/core/rtw_ap.c @@ -6,7 +6,6 @@ *************************************************************************= *****/ =20 #include -#include #include =20 void init_mlme_ap_info(struct adapter *padapter) diff --git a/drivers/staging/rtl8723bs/core/rtw_btcoex.c b/drivers/staging/= rtl8723bs/core/rtw_btcoex.c index 62cbf84b079a..d54095f50113 100644 --- a/drivers/staging/rtl8723bs/core/rtw_btcoex.c +++ b/drivers/staging/rtl8723bs/core/rtw_btcoex.c @@ -5,7 +5,6 @@ * *************************************************************************= *****/ #include -#include #include #include =20 diff --git a/drivers/staging/rtl8723bs/core/rtw_cmd.c b/drivers/staging/rtl= 8723bs/core/rtw_cmd.c index d3f10a3cf972..6c49bfa00578 100644 --- a/drivers/staging/rtl8723bs/core/rtw_cmd.c +++ b/drivers/staging/rtl8723bs/core/rtw_cmd.c @@ -5,7 +5,6 @@ * *************************************************************************= *****/ #include -#include #include #include =20 diff --git a/drivers/staging/rtl8723bs/core/rtw_debug.c b/drivers/staging/r= tl8723bs/core/rtw_debug.c deleted file mode 100644 index fb6cc1d18bba..000000000000 --- a/drivers/staging/rtl8723bs/core/rtw_debug.c +++ /dev/null @@ -1,12 +0,0 @@ -// SPDX-License-Identifier: GPL-2.0 -/*************************************************************************= ***** - * - * Copyright(c) 2007 - 2012 Realtek Corporation. All rights reserved. - * - *************************************************************************= *****/ - -#include -#include -#include - -#include diff --git a/drivers/staging/rtl8723bs/core/rtw_efuse.c b/drivers/staging/r= tl8723bs/core/rtw_efuse.c index 89acb6f290cc..6419638c6e20 100644 --- a/drivers/staging/rtl8723bs/core/rtw_efuse.c +++ b/drivers/staging/rtl8723bs/core/rtw_efuse.c @@ -5,7 +5,6 @@ * *************************************************************************= *****/ #include -#include #include #include =20 diff --git a/drivers/staging/rtl8723bs/core/rtw_ieee80211.c b/drivers/stagi= ng/rtl8723bs/core/rtw_ieee80211.c index 0cc5142a90e0..5a76069a8222 100644 --- a/drivers/staging/rtl8723bs/core/rtw_ieee80211.c +++ b/drivers/staging/rtl8723bs/core/rtw_ieee80211.c @@ -6,7 +6,6 @@ *************************************************************************= *****/ =20 #include -#include #include #include =20 diff --git a/drivers/staging/rtl8723bs/core/rtw_io.c b/drivers/staging/rtl8= 723bs/core/rtw_io.c index 4d3c30ec93b5..fcda9db6ebb5 100644 --- a/drivers/staging/rtl8723bs/core/rtw_io.c +++ b/drivers/staging/rtl8723bs/core/rtw_io.c @@ -26,7 +26,6 @@ jackson@realtek.com.tw */ =20 #include -#include =20 u8 rtw_read8(struct adapter *adapter, u32 addr) { diff --git a/drivers/staging/rtl8723bs/core/rtw_ioctl_set.c b/drivers/stagi= ng/rtl8723bs/core/rtw_ioctl_set.c index 3b44f0dd5b0a..587a87fbffeb 100644 --- a/drivers/staging/rtl8723bs/core/rtw_ioctl_set.c +++ b/drivers/staging/rtl8723bs/core/rtw_ioctl_set.c @@ -6,7 +6,6 @@ *************************************************************************= *****/ =20 #include -#include =20 u8 rtw_validate_bssid(u8 *bssid) { diff --git a/drivers/staging/rtl8723bs/core/rtw_mlme.c b/drivers/staging/rt= l8723bs/core/rtw_mlme.c index 8c487b7b7a40..cbdb134278d3 100644 --- a/drivers/staging/rtl8723bs/core/rtw_mlme.c +++ b/drivers/staging/rtl8723bs/core/rtw_mlme.c @@ -6,7 +6,6 @@ *************************************************************************= *****/ #include #include -#include #include #include =20 diff --git a/drivers/staging/rtl8723bs/core/rtw_mlme_ext.c b/drivers/stagin= g/rtl8723bs/core/rtw_mlme_ext.c index 834b53c0ee1d..bbdd5fce28a1 100644 --- a/drivers/staging/rtl8723bs/core/rtw_mlme_ext.c +++ b/drivers/staging/rtl8723bs/core/rtw_mlme_ext.c @@ -5,7 +5,6 @@ * *************************************************************************= *****/ #include -#include #include #include #include diff --git a/drivers/staging/rtl8723bs/core/rtw_pwrctrl.c b/drivers/staging= /rtl8723bs/core/rtw_pwrctrl.c index e9763eab16f6..a95092129748 100644 --- a/drivers/staging/rtl8723bs/core/rtw_pwrctrl.c +++ b/drivers/staging/rtl8723bs/core/rtw_pwrctrl.c @@ -5,7 +5,6 @@ * *************************************************************************= *****/ #include -#include #include #include =20 diff --git a/drivers/staging/rtl8723bs/core/rtw_recv.c b/drivers/staging/rt= l8723bs/core/rtw_recv.c index 0eadc23a7d54..7a95e15e641f 100644 --- a/drivers/staging/rtl8723bs/core/rtw_recv.c +++ b/drivers/staging/rtl8723bs/core/rtw_recv.c @@ -5,7 +5,6 @@ * *************************************************************************= *****/ #include -#include #include #include #include diff --git a/drivers/staging/rtl8723bs/core/rtw_security.c b/drivers/stagin= g/rtl8723bs/core/rtw_security.c index 7ecdaa2eeaf3..1e9eff01b1aa 100644 --- a/drivers/staging/rtl8723bs/core/rtw_security.c +++ b/drivers/staging/rtl8723bs/core/rtw_security.c @@ -6,7 +6,6 @@ *************************************************************************= *****/ #include #include -#include #include =20 static const char * const _security_type_str[] =3D { diff --git a/drivers/staging/rtl8723bs/core/rtw_sta_mgt.c b/drivers/staging= /rtl8723bs/core/rtw_sta_mgt.c index 0145c4da5ac0..1b72f2196a1c 100644 --- a/drivers/staging/rtl8723bs/core/rtw_sta_mgt.c +++ b/drivers/staging/rtl8723bs/core/rtw_sta_mgt.c @@ -5,7 +5,6 @@ * *************************************************************************= *****/ #include -#include =20 void _rtw_init_stainfo(struct sta_info *psta); void _rtw_init_stainfo(struct sta_info *psta) diff --git a/drivers/staging/rtl8723bs/core/rtw_wlan_util.c b/drivers/stagi= ng/rtl8723bs/core/rtw_wlan_util.c index 87ce4a9b3aad..f37fec1efaf9 100644 --- a/drivers/staging/rtl8723bs/core/rtw_wlan_util.c +++ b/drivers/staging/rtl8723bs/core/rtw_wlan_util.c @@ -6,7 +6,6 @@ *************************************************************************= *****/ =20 #include -#include #include =20 static unsigned char ARTHEROS_OUI1[] =3D {0x00, 0x03, 0x7f}; diff --git a/drivers/staging/rtl8723bs/core/rtw_xmit.c b/drivers/staging/rt= l8723bs/core/rtw_xmit.c index b1965ec0181f..7d7d0abae576 100644 --- a/drivers/staging/rtl8723bs/core/rtw_xmit.c +++ b/drivers/staging/rtl8723bs/core/rtw_xmit.c @@ -5,7 +5,6 @@ * *************************************************************************= *****/ #include -#include =20 static u8 P802_1H_OUI[P80211_OUI_LEN] =3D { 0x00, 0x00, 0xf8 }; static u8 RFC1042_OUI[P80211_OUI_LEN] =3D { 0x00, 0x00, 0x00 }; diff --git a/drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c b/drivers/stagi= ng/rtl8723bs/hal/HalPhyRf_8723B.c index 22e33b97800d..81149ab81904 100644 --- a/drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c +++ b/drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c @@ -6,7 +6,6 @@ *************************************************************************= *****/ =20 #include -#include #include "odm_precomp.h" =20 /* MACRO definition for pRFCalibrateInfo->TxIQC_8723B[0] */ diff --git a/drivers/staging/rtl8723bs/hal/HalPwrSeqCmd.c b/drivers/staging= /rtl8723bs/hal/HalPwrSeqCmd.c index 5f9e94a7e6ad..86404b5e6c52 100644 --- a/drivers/staging/rtl8723bs/hal/HalPwrSeqCmd.c +++ b/drivers/staging/rtl8723bs/hal/HalPwrSeqCmd.c @@ -21,7 +21,6 @@ Major Change History: =20 --*/ #include -#include #include =20 =20 diff --git a/drivers/staging/rtl8723bs/hal/hal_btcoex.c b/drivers/staging/r= tl8723bs/hal/hal_btcoex.c index e26b789b9cdd..b72cf520d576 100644 --- a/drivers/staging/rtl8723bs/hal/hal_btcoex.c +++ b/drivers/staging/rtl8723bs/hal/hal_btcoex.c @@ -6,7 +6,6 @@ *************************************************************************= *****/ =20 #include -#include #include #include =20 diff --git a/drivers/staging/rtl8723bs/hal/hal_com.c b/drivers/staging/rtl8= 723bs/hal/hal_com.c index 852232102433..719dd116d807 100644 --- a/drivers/staging/rtl8723bs/hal/hal_com.c +++ b/drivers/staging/rtl8723bs/hal/hal_com.c @@ -7,7 +7,6 @@ =20 #include #include -#include #include "hal_com_h2c.h" =20 #include "odm_precomp.h" diff --git a/drivers/staging/rtl8723bs/hal/hal_com_phycfg.c b/drivers/stagi= ng/rtl8723bs/hal/hal_com_phycfg.c index 3e814a15e893..d5649e7d8f99 100644 --- a/drivers/staging/rtl8723bs/hal/hal_com_phycfg.c +++ b/drivers/staging/rtl8723bs/hal/hal_com_phycfg.c @@ -6,7 +6,6 @@ *************************************************************************= *****/ =20 #include -#include #include #include =20 diff --git a/drivers/staging/rtl8723bs/hal/hal_intf.c b/drivers/staging/rtl= 8723bs/hal/hal_intf.c index b66c02cd1c82..0a3900548fd2 100644 --- a/drivers/staging/rtl8723bs/hal/hal_intf.c +++ b/drivers/staging/rtl8723bs/hal/hal_intf.c @@ -5,7 +5,6 @@ * *************************************************************************= *****/ #include -#include #include =20 void rtw_hal_chip_configure(struct adapter *padapter) diff --git a/drivers/staging/rtl8723bs/hal/hal_sdio.c b/drivers/staging/rtl= 8723bs/hal/hal_sdio.c index 9de62a0f5d35..665c85eccbdf 100644 --- a/drivers/staging/rtl8723bs/hal/hal_sdio.c +++ b/drivers/staging/rtl8723bs/hal/hal_sdio.c @@ -6,7 +6,6 @@ *************************************************************************= *****/ =20 #include -#include #include =20 u8 rtw_hal_sdio_max_txoqt_free_space(struct adapter *padapter) diff --git a/drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c b/drivers/staging= /rtl8723bs/hal/rtl8723b_cmd.c index d1ac2f44939c..56526056dd1d 100644 --- a/drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c +++ b/drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c @@ -6,7 +6,6 @@ *************************************************************************= *****/ =20 #include -#include #include #include "hal_com_h2c.h" =20 diff --git a/drivers/staging/rtl8723bs/hal/rtl8723b_dm.c b/drivers/staging/= rtl8723bs/hal/rtl8723b_dm.c index 2028791988e7..d1c875cf8e6d 100644 --- a/drivers/staging/rtl8723bs/hal/rtl8723b_dm.c +++ b/drivers/staging/rtl8723bs/hal/rtl8723b_dm.c @@ -8,7 +8,6 @@ /* This file is for 92CE/92CU dynamic mechanism only */ =20 #include -#include #include =20 /* Global var */ diff --git a/drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c b/drivers/st= aging/rtl8723bs/hal/rtl8723b_hal_init.c index 7a5c3a98183b..37ebbbf408ec 100644 --- a/drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c +++ b/drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c @@ -8,7 +8,6 @@ #include #include #include -#include #include #include "hal_com_h2c.h" =20 diff --git a/drivers/staging/rtl8723bs/hal/rtl8723b_phycfg.c b/drivers/stag= ing/rtl8723bs/hal/rtl8723b_phycfg.c index 7764896a04ea..4ff092b7c9c9 100644 --- a/drivers/staging/rtl8723bs/hal/rtl8723b_phycfg.c +++ b/drivers/staging/rtl8723bs/hal/rtl8723b_phycfg.c @@ -6,7 +6,6 @@ *************************************************************************= *****/ =20 #include -#include #include =20 /** diff --git a/drivers/staging/rtl8723bs/hal/rtl8723bs_recv.c b/drivers/stagi= ng/rtl8723bs/hal/rtl8723bs_recv.c index 74e75dc970f7..28c914ec2604 100644 --- a/drivers/staging/rtl8723bs/hal/rtl8723bs_recv.c +++ b/drivers/staging/rtl8723bs/hal/rtl8723bs_recv.c @@ -6,7 +6,6 @@ *************************************************************************= *****/ =20 #include -#include #include =20 static void initrecvbuf(struct recv_buf *precvbuf, struct adapter *padapte= r) diff --git a/drivers/staging/rtl8723bs/hal/rtl8723bs_xmit.c b/drivers/stagi= ng/rtl8723bs/hal/rtl8723bs_xmit.c index 15810438a472..78298e63edce 100644 --- a/drivers/staging/rtl8723bs/hal/rtl8723bs_xmit.c +++ b/drivers/staging/rtl8723bs/hal/rtl8723bs_xmit.c @@ -6,7 +6,6 @@ *************************************************************************= *****/ =20 #include -#include #include =20 static u8 rtw_sdio_wait_enough_TxOQT_space(struct adapter *padapter, u8 ag= g_num) diff --git a/drivers/staging/rtl8723bs/hal/sdio_halinit.c b/drivers/staging= /rtl8723bs/hal/sdio_halinit.c index 535cd439121d..d3aae413fc0f 100644 --- a/drivers/staging/rtl8723bs/hal/sdio_halinit.c +++ b/drivers/staging/rtl8723bs/hal/sdio_halinit.c @@ -5,7 +5,6 @@ * *************************************************************************= *****/ #include -#include #include =20 #include "hal_com_h2c.h" diff --git a/drivers/staging/rtl8723bs/hal/sdio_ops.c b/drivers/staging/rtl= 8723bs/hal/sdio_ops.c index 107f427ee4aa..21e9f1858745 100644 --- a/drivers/staging/rtl8723bs/hal/sdio_ops.c +++ b/drivers/staging/rtl8723bs/hal/sdio_ops.c @@ -5,7 +5,6 @@ * *************************************************************************= ******/ #include -#include #include =20 /* */ diff --git a/drivers/staging/rtl8723bs/include/rtw_debug.h b/drivers/stagin= g/rtl8723bs/include/rtw_debug.h deleted file mode 100644 index c417a26de166..000000000000 --- a/drivers/staging/rtl8723bs/include/rtw_debug.h +++ /dev/null @@ -1,10 +0,0 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -/*************************************************************************= ***** - * - * Copyright(c) 2007 - 2011 Realtek Corporation. All rights reserved. - * - *************************************************************************= *****/ -#ifndef __RTW_DEBUG_H__ -#define __RTW_DEBUG_H__ - -#endif /* __RTW_DEBUG_H__ */ diff --git a/drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c b/drivers/st= aging/rtl8723bs/os_dep/ioctl_cfg80211.c index eb3c73cc2662..b63a74e669bc 100644 --- a/drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c +++ b/drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c @@ -7,7 +7,6 @@ =20 #include #include -#include #include =20 #include diff --git a/drivers/staging/rtl8723bs/os_dep/ioctl_linux.c b/drivers/stagi= ng/rtl8723bs/os_dep/ioctl_linux.c index c81b30f1f1b0..a9e481e182ad 100644 --- a/drivers/staging/rtl8723bs/os_dep/ioctl_linux.c +++ b/drivers/staging/rtl8723bs/os_dep/ioctl_linux.c @@ -7,7 +7,6 @@ =20 #include #include -#include #include #include #include diff --git a/drivers/staging/rtl8723bs/os_dep/mlme_linux.c b/drivers/stagin= g/rtl8723bs/os_dep/mlme_linux.c index 1341801e5c21..1904e82a24b5 100644 --- a/drivers/staging/rtl8723bs/os_dep/mlme_linux.c +++ b/drivers/staging/rtl8723bs/os_dep/mlme_linux.c @@ -5,7 +5,6 @@ * *************************************************************************= *****/ #include -#include =20 static void _dynamic_check_timer_handler(struct timer_list *t) { diff --git a/drivers/staging/rtl8723bs/os_dep/os_intfs.c b/drivers/staging/= rtl8723bs/os_dep/os_intfs.c index 55d0140cd543..fc9b9c5efb50 100644 --- a/drivers/staging/rtl8723bs/os_dep/os_intfs.c +++ b/drivers/staging/rtl8723bs/os_dep/os_intfs.c @@ -5,7 +5,6 @@ * *************************************************************************= *****/ #include -#include #include =20 MODULE_LICENSE("GPL"); diff --git a/drivers/staging/rtl8723bs/os_dep/osdep_service.c b/drivers/sta= ging/rtl8723bs/os_dep/osdep_service.c index f09c1324c39c..a00f9f0c85c5 100644 --- a/drivers/staging/rtl8723bs/os_dep/osdep_service.c +++ b/drivers/staging/rtl8723bs/os_dep/osdep_service.c @@ -5,7 +5,6 @@ * *************************************************************************= *****/ #include -#include =20 /* * Translate the OS dependent @param error_code to OS independent RTW_STATU= S_CODE diff --git a/drivers/staging/rtl8723bs/os_dep/recv_linux.c b/drivers/stagin= g/rtl8723bs/os_dep/recv_linux.c index 4d28b300b235..746f45cf9aac 100644 --- a/drivers/staging/rtl8723bs/os_dep/recv_linux.c +++ b/drivers/staging/rtl8723bs/os_dep/recv_linux.c @@ -5,7 +5,6 @@ * *************************************************************************= *****/ #include -#include #include #include #include diff --git a/drivers/staging/rtl8723bs/os_dep/sdio_intf.c b/drivers/staging= /rtl8723bs/os_dep/sdio_intf.c index 490431484524..d18fde4e5d6c 100644 --- a/drivers/staging/rtl8723bs/os_dep/sdio_intf.c +++ b/drivers/staging/rtl8723bs/os_dep/sdio_intf.c @@ -5,7 +5,6 @@ * *************************************************************************= *****/ #include -#include #include #include =20 diff --git a/drivers/staging/rtl8723bs/os_dep/sdio_ops_linux.c b/drivers/st= aging/rtl8723bs/os_dep/sdio_ops_linux.c index 0a0b04088e66..4a7c0c9cc7ef 100644 --- a/drivers/staging/rtl8723bs/os_dep/sdio_ops_linux.c +++ b/drivers/staging/rtl8723bs/os_dep/sdio_ops_linux.c @@ -6,7 +6,6 @@ *************************************************************************= ******/ =20 #include -#include =20 static bool rtw_sdio_claim_host_needed(struct sdio_func *func) { diff --git a/drivers/staging/rtl8723bs/os_dep/wifi_regd.c b/drivers/staging= /rtl8723bs/os_dep/wifi_regd.c index 5eef1d68c6f0..dbd4bf531339 100644 --- a/drivers/staging/rtl8723bs/os_dep/wifi_regd.c +++ b/drivers/staging/rtl8723bs/os_dep/wifi_regd.c @@ -6,7 +6,6 @@ *************************************************************************= ****/ =20 #include -#include =20 #include =20 diff --git a/drivers/staging/rtl8723bs/os_dep/xmit_linux.c b/drivers/stagin= g/rtl8723bs/os_dep/xmit_linux.c index e0736707a211..944b9c724b32 100644 --- a/drivers/staging/rtl8723bs/os_dep/xmit_linux.c +++ b/drivers/staging/rtl8723bs/os_dep/xmit_linux.c @@ -5,7 +5,6 @@ * *************************************************************************= *****/ #include -#include =20 =20 uint rtw_remainder_len(struct pkt_file *pfile) --=20 2.46.0 From nobody Sat Nov 30 10:29:14 2024 Received: from mail-ed1-f52.google.com (mail-ed1-f52.google.com [209.85.208.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id A044317B50A for ; Tue, 10 Sep 2024 05:57:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.52 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1725947882; cv=none; b=OziZOJS0Prjuko47P8ypIvOl6USI8jFh5bgdzyxu8tsrWFpck/MiLxsfBlhvBn0Z861IcadmK61jTyknEoisJ5DEkmV3i+qmVzP3U3CJYZvpNKg1zzxNG2MyOAFm438QiKTIoffF91P+kLdrNucA/cQWyG6SIDBM7WkF7t87/Do= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1725947882; c=relaxed/simple; bh=GjUGopGW/wE1aOAPUuMneNgzgbYxqvxGw0OD/j/5yFc=; h=Date:From:To:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=j0/V2DTFI8iIquaShf61v5h5Xf6/RSgcwPVd6OHLNMW1ej0v2Gxgi+4eB0cRwXsg28pUDMsm2bMdunnR/vztzbxDkem/F2sl/z3b6n7wkCR2CK+R3C0xFCUB3oTyV31xhBafZ23gt4oD6E6RNBYCg1mBSVezyuI87+SHV2iDV80= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=kfL8dqPB; arc=none smtp.client-ip=209.85.208.52 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="kfL8dqPB" Received: by mail-ed1-f52.google.com with SMTP id 4fb4d7f45d1cf-5c3cdba33b0so5419743a12.1 for ; Mon, 09 Sep 2024 22:57:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1725947878; x=1726552678; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=2cx3ykix+TuB8uuNKcx/1J8Hn0bQfcisX/xQMqnMFlU=; b=kfL8dqPBsWgSxchYt3+YDhFaO384NpO0mAp6UG1lPXFj7Pk+PugYFuHveGEYR0pUH4 IHiXrEg/ZPfSDsTmrnT5RCQILc+23PVisf90/UfSHBmHjq27cUeISuaOtq6vJzj5eTPg 0XABJnvStXfTdFWSSFUnUvfFgELXFzjSssq4hxpzTYL4BcWENJqsA/xhpxXefdWuMcPt jDm7x9wuc1z+7Oqs+jPpVTqNT1ENw0gYHdMp0/+cgSOVNMPgmntY0MuhSx/wJwVu7cPt /CwcCnbQOQe135QgZIwMJ1WbLqSRiV/IMyfa3WIvrUxUYAx+YQOSbm7q1wzomJQ+HPRd Vq9w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1725947878; x=1726552678; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=2cx3ykix+TuB8uuNKcx/1J8Hn0bQfcisX/xQMqnMFlU=; b=Oi3oozvpP7uhLe4EtLpn2NwHBaaIXGPma2H1bojaaJcCqJDmUmSAP7/2OUGOAfLNHu ky/ooBxYZnTxVXvvn2K0E3HmJ4tPWiztjUPPLPhhKRYWURwTwLl4FJ2Kd/WkIkTWCaBx o5W5n7ENpYtvaT/J8fYoOKfpQLfX7TnQKhX1BLW9UysMeBHWLnuMcVNGdTLEKPSWNoqX iLJfsACS2+a48AfC4AxgZFqm031eUp2SRxTnj6fCGIvekGF40UAEXAiarXjiypUOGIc2 wST8LNAYBpQ0n9KLCNRSoXRThSlnNGFau9CjbjLcpu9nkrTTP01fBgfj2/OsdPpd/vHG PQ1w== X-Forwarded-Encrypted: i=1; AJvYcCUCnE0rMVrNFGPHptIEcuOMW54xCXYZv/Gy6DehmezQqAKNLiA4lyCYiHN1uGUDwB2inKat8kych+Fd+0E=@vger.kernel.org X-Gm-Message-State: AOJu0YzcCQyju/chCjWfj/09PZgC8Q/DDFUkjtESKXg90KlBjVeESNii LMpGfthOogZxD/M+UwfLt5548kdVBiSVMW3Owlruu+dZ4m5jhR9e X-Google-Smtp-Source: AGHT+IEwxBhh5fLi6FkPQok12Ucj1eFyyJ4CcVOGrJhWFjQI93n4H+TEVIWzrwRzxYcZO7lzaW7few== X-Received: by 2002:a05:6402:5203:b0:5c2:6e51:9d22 with SMTP id 4fb4d7f45d1cf-5c3dc7bd575mr8923006a12.25.1725947877907; Mon, 09 Sep 2024 22:57:57 -0700 (PDT) Received: from matrix-ESPRIMO-P710 (p200300c78f2a8598b80c2d4e9a813f29.dip0.t-ipconnect.de. [2003:c7:8f2a:8598:b80c:2d4e:9a81:3f29]) by smtp.gmail.com with ESMTPSA id 4fb4d7f45d1cf-5c3ebd41ba7sm3832400a12.4.2024.09.09.22.57.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 09 Sep 2024 22:57:57 -0700 (PDT) Date: Tue, 10 Sep 2024 07:57:56 +0200 From: Philipp Hortmann To: Greg Kroah-Hartman , linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org Subject: [PATCH 10/11] staging: rtl8723bs: Remove unused function rtw_ch2freq Message-ID: <53a8ee320803ae3efe22b648f2a4555482efaf46.1725826273.git.philipp.g.hortmann@gmail.com> References: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Remove unused function rtw_ch2freq with array ch_freq_map and comments. Signed-off-by: Philipp Hortmann --- drivers/staging/rtl8723bs/core/rtw_cmd.c | 3 --- drivers/staging/rtl8723bs/core/rtw_rf.c | 25 ---------------------- drivers/staging/rtl8723bs/include/rtw_rf.h | 2 -- 3 files changed, 30 deletions(-) diff --git a/drivers/staging/rtl8723bs/core/rtw_cmd.c b/drivers/staging/rtl= 8723bs/core/rtw_cmd.c index 6c49bfa00578..84ce7307d8f3 100644 --- a/drivers/staging/rtl8723bs/core/rtw_cmd.c +++ b/drivers/staging/rtl8723bs/core/rtw_cmd.c @@ -1883,9 +1883,6 @@ void rtw_createbss_cmd_callback(struct adapter *padap= ter, struct cmd_obj *pcmd) /* copy pdev_network information to pmlmepriv->cur_network */ memcpy(&tgt_network->network, pnetwork, (get_wlan_bssid_ex_sz(pnetwork))= ); =20 - /* reset ds_config */ - /* tgt_network->network.configuration.ds_config =3D (u32)rtw_ch2freq(pne= twork->configuration.ds_config); */ - _clr_fwstate_(pmlmepriv, _FW_UNDER_LINKING); =20 spin_unlock_bh(&pmlmepriv->scanned_queue.lock); diff --git a/drivers/staging/rtl8723bs/core/rtw_rf.c b/drivers/staging/rtl8= 723bs/core/rtw_rf.c index 4f120c894998..2aca45de298e 100644 --- a/drivers/staging/rtl8723bs/core/rtw_rf.c +++ b/drivers/staging/rtl8723bs/core/rtw_rf.c @@ -7,28 +7,3 @@ =20 #include #include - -static const u32 ch_freq_map[] =3D { - 2412, - 2417, - 2422, - 2427, - 2432, - 2437, - 2442, - 2447, - 2452, - 2457, - 2462, - 2467, - 2472, - 2484 -}; - -u32 rtw_ch2freq(u32 channel) -{ - if (channel =3D=3D 0 || channel > ARRAY_SIZE(ch_freq_map)) - return 2412; - - return ch_freq_map[channel - 1]; -} diff --git a/drivers/staging/rtl8723bs/include/rtw_rf.h b/drivers/staging/r= tl8723bs/include/rtw_rf.h index 718275ee4500..9f98b3f5a2e3 100644 --- a/drivers/staging/rtl8723bs/include/rtw_rf.h +++ b/drivers/staging/rtl8723bs/include/rtw_rf.h @@ -97,6 +97,4 @@ enum { HT_DATA_SC_20_LOWER_OF_40MHZ =3D 2, }; =20 -u32 rtw_ch2freq(u32 ch); - #endif /* _RTL8711_RF_H_ */ --=20 2.46.0 From nobody Sat Nov 30 10:29:14 2024 Received: from mail-ed1-f43.google.com (mail-ed1-f43.google.com [209.85.208.43]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id CAE4617BB08 for ; Tue, 10 Sep 2024 05:58:07 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.43 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1725947889; cv=none; b=PteGQJjcbX9KV4jldKQ0l45QfkClnrW0qmCWuRoXFy9yUFTRHjll5VvUo7MR/VAu17ntS8AbrWUXkv4sHNda9mQv/K8outGH6HcVmhgkyZUq0gjWX5GWqHwZI4FGGce7tOp4hOrQ/EcUgujF/fYuMVip4rcNqdLn1ds0aAHv5Ck= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1725947889; c=relaxed/simple; bh=XbUDZ8IUfkfJObJ2330aHQhyoCJXctwLXkp6mrx3Vhc=; h=Date:From:To:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=i08kBCkWKHYdyE2vGDS5oppADoNX4ON4iDiHVRysr1t0ndrDQ4DBFnB0G7GKR0TraETxyNMVoeNzPT1aWEFAP2rdUO7guAznb+NumQF5FuQ5JHPCvk5bL06EUrq+vqidygg3ZoKwN+LUHqsJZHbSRyGZ/UCT+bCnoN4YbHDN+Q0= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=ZrCFqvci; arc=none smtp.client-ip=209.85.208.43 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="ZrCFqvci" Received: by mail-ed1-f43.google.com with SMTP id 4fb4d7f45d1cf-5c275491c61so6401647a12.0 for ; Mon, 09 Sep 2024 22:58:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1725947886; x=1726552686; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=gymUfn5xiGysGwdz/oGmzYjODxt8QZ59eag7p59pDaQ=; b=ZrCFqvcivLmnKFH+LV4mmteqkwVfQo9DLO3oXfyRCFR49Eq+AWsn1DcQm+FZFRqB9F 5/eJNvvGXbG/rryhyauY4rjEjT0COmxaNT/AxLZPCoiWNH6f0Ud6o+8Wa2qUIZpSkhiC apBX3bT3/z/UI9NBRKg/JBU4InMd3DDph0u4kde/S8xjHBVQRPf7622oPZMEhu67Af10 x3MYgKU4xTCF4ycvVS9hCsBFINNttgtD7itkJ2gCc+5enUlKZxUL72aFm8gfOhUjY4GR RbaXPi0rkf2fLidDZLcgJcHBHxBmDhZ8CsAV5Tl1M/r9hzZ1luo0UBTSF5qsOXnYTZ9c ErUw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1725947886; x=1726552686; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=gymUfn5xiGysGwdz/oGmzYjODxt8QZ59eag7p59pDaQ=; b=ABIdPGqgzTkODFI4n8Jm7tvkpEtuecS/vrL/LSNIhGO3wDv+jiudazYlEsUowt8QDc YTGiQoG5fI28oIMxnBtMyaTVh6uzDr6WSu1OkIWdDfNkWsEs+x8Mm8Q8Bqo2yhP5DrUK qVQ8N/k1n1ylwFKE4s0y2MwMJ6AHo2urq1aig8e1vH5/k7P9XkrnhXlKfLPnqiesT0op /j15lVw49E7xDsg4zy6kfPnGbuWGYmvWkE2Xex1A9H9pHH9tyx4cUkv4e/43/OGUkeOk lRQujK4zfAta25E2hfBGwLUcAV+iJbv9SXVxs22ZxJoAhtlsBv7eIkT0jBAgILZJXKZU CGhw== X-Forwarded-Encrypted: i=1; AJvYcCVAHMAPaSwyCstKyu5zitfc6q5dTqxl7eyuI6H+YUGv49fblG4phEaPyaO6a7FQCGcS0OKf5o8FpLDB56w=@vger.kernel.org X-Gm-Message-State: AOJu0YxDantw/OoaCR++owiywxwyz3ngn3pQxdpJtUVBJC3uuY3D8X/+ EO1o/k8plKfEEu65+TQxk6nHHOOnTzAw8WsgP9MYjqw7ARe8QD+r X-Google-Smtp-Source: AGHT+IFwh6iTk9qx3mUae71uO243EOgHfbIaTK31+auI1yyebCID3qhRzK8HuXwMTLz8FNnuofuIKQ== X-Received: by 2002:a17:907:72c7:b0:a7a:a0c2:8be9 with SMTP id a640c23a62f3a-a8d1bfcb437mr1355333766b.18.1725947886117; Mon, 09 Sep 2024 22:58:06 -0700 (PDT) Received: from matrix-ESPRIMO-P710 (p200300c78f2a8598b80c2d4e9a813f29.dip0.t-ipconnect.de. [2003:c7:8f2a:8598:b80c:2d4e:9a81:3f29]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a8d2583f73asm431679466b.7.2024.09.09.22.58.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 09 Sep 2024 22:58:05 -0700 (PDT) Date: Tue, 10 Sep 2024 07:58:04 +0200 From: Philipp Hortmann To: Greg Kroah-Hartman , linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org Subject: [PATCH 11/11] staging: rtl8723bs: Remove unused file rtw_rf.c Message-ID: <2a31866e3e6f65e90d612f7473501066f6bc5937.1725826273.git.philipp.g.hortmann@gmail.com> References: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Remove unused file rtw_rf.c Signed-off-by: Philipp Hortmann --- drivers/staging/rtl8723bs/Makefile | 1 - drivers/staging/rtl8723bs/core/rtw_rf.c | 9 --------- 2 files changed, 10 deletions(-) delete mode 100644 drivers/staging/rtl8723bs/core/rtw_rf.c diff --git a/drivers/staging/rtl8723bs/Makefile b/drivers/staging/rtl8723bs= /Makefile index dbe6ed3b9f0c..ba200ee669f3 100644 --- a/drivers/staging/rtl8723bs/Makefile +++ b/drivers/staging/rtl8723bs/Makefile @@ -11,7 +11,6 @@ r8723bs-y =3D \ core/rtw_mlme_ext.o \ core/rtw_pwrctrl.o \ core/rtw_recv.o \ - core/rtw_rf.o \ core/rtw_security.o \ core/rtw_sta_mgt.o \ core/rtw_wlan_util.o \ diff --git a/drivers/staging/rtl8723bs/core/rtw_rf.c b/drivers/staging/rtl8= 723bs/core/rtw_rf.c deleted file mode 100644 index 2aca45de298e..000000000000 --- a/drivers/staging/rtl8723bs/core/rtw_rf.c +++ /dev/null @@ -1,9 +0,0 @@ -// SPDX-License-Identifier: GPL-2.0 -/*************************************************************************= ***** - * - * Copyright(c) 2007 - 2011 Realtek Corporation. All rights reserved. - * - *************************************************************************= *****/ - -#include -#include --=20 2.46.0