Received: by 2002:a05:7412:a9a2:b0:e2:908c:2ebd with SMTP id o34csp237692rdh; Thu, 26 Oct 2023 00:11:14 -0700 (PDT) X-Google-Smtp-Source: AGHT+IF+HSonwy2yPdx6YVB9q+Zoygx6X1d/ascGWYV3/RGO22r1+jmc5Cgddq5tHqBqq/yz+vS5 X-Received: by 2002:a05:6808:b30:b0:3a9:9bcb:8760 with SMTP id t16-20020a0568080b3000b003a99bcb8760mr18707609oij.39.1698304273697; Thu, 26 Oct 2023 00:11:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698304273; cv=none; d=google.com; s=arc-20160816; b=puvw5iJxiTruvoI4FVPIfNv4QG4Y2XcYPzH2kFJk/YhSTFx48a3/RMFw2hhLRJJ14E U3f3rGIcxd5MZiugkJyD/L2QsShIOZO8gw3EYrfw92RFF+0DMF9UtoOlJDueMwQoFfXj 90kA86TB4yeqFoNVWFuzuNLVMt9ztVAlmcpxQt9RcrTjHLzJCVfaTgsEn6YP3Vd2mz2S uNIFuJI3dcSRKESMn38VuCfeSc2UfPRZZuvbhpF9ujlpTBLW9sNTmKaZC3ny7Lg+Fobf HGQXEAKKcM3yTriKkMKxXNVTlIvtuozRouC/mqA2Zo0quDs4UrwItVV3H8dzDpUJsSQN c9gw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=c7fEK5aXyqEKNX44SGAggLq1zICRl4jXqY0Tzaon+wY=; fh=zFkXNj5A0ZebMziytO9GS/FZm+3USkUzTWOcrg1oC5w=; b=K9ndUeE+YWdTlUZ2p/jxPN3LulWbd9sCQO7TLi+x9ZbGhFt8E6OVVQ3F11qnepD9p+ FnG/XBnXFqWZI+KKC4oaOLgF3IDwXdZqhFSio0pmVUIQ8Nla+iNc51hjlVNtiJOL7v4n 4bj0FE70pzBcTdonNWRhds8OUltanTiO1mhui/yCDD6wdYKJJLgB2a/s6OAC0nQyDWRW F3zWN3+66P2tM6jOZxK1+nKlF1KdBiSMljWkU3MotGiDMGHCo15KHyLp8VbnYqioZdcH WsQEM83qCjBR0xVl1cmufuFdoeIn3/3chfwSOzdya82pla4bbi14tRnGChFDIH75sdme lA1Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Hh2frqlb; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from howler.vger.email (howler.vger.email. [23.128.96.34]) by mx.google.com with ESMTPS id ck19-20020a05690218d300b00d8659ab6ce2si17791931ybb.616.2023.10.26.00.11.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 26 Oct 2023 00:11:13 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) client-ip=23.128.96.34; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Hh2frqlb; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by howler.vger.email (Postfix) with ESMTP id AD8A380746A7; Thu, 26 Oct 2023 00:10:19 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344159AbjJZHKG (ORCPT + 99 others); Thu, 26 Oct 2023 03:10:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43886 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229518AbjJZHKF (ORCPT ); Thu, 26 Oct 2023 03:10:05 -0400 Received: from mail-wm1-x32b.google.com (mail-wm1-x32b.google.com [IPv6:2a00:1450:4864:20::32b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 953F518D for ; Thu, 26 Oct 2023 00:10:02 -0700 (PDT) Received: by mail-wm1-x32b.google.com with SMTP id 5b1f17b1804b1-408382da7f0so4344735e9.0 for ; Thu, 26 Oct 2023 00:10:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1698304201; x=1698909001; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=c7fEK5aXyqEKNX44SGAggLq1zICRl4jXqY0Tzaon+wY=; b=Hh2frqlbTmS+SAF6Sj02GcbyUbHD67lgvOaVCLfTEGTupG6gmvUWwXDRVMz0mkT7Rt hbIi+zEg/KDoeN10DR0Qkav9iBpzLiPLQQ0qYY4CFJUOhQddEdwNzC/k70Of17ZdU1ij cPneWckHn50q+Sx+AJTrGKkor/rnUi1HZYg5b8FLu9oPkRINohZtEFiy1B9CEdpdKoia 0kneXaXJDbelN8dm8muHSC2sSj0RiqQV9vhlJed9qp1qymFVNxZvE5vytebJDX4uN2sU m6Dt0JzT3QOkT3bmjbonmdKA6BivS8HLmKYg/al+Xqd5OwqOekdVWM7XQQdrwDcIIQ1v fSJg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698304201; x=1698909001; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=c7fEK5aXyqEKNX44SGAggLq1zICRl4jXqY0Tzaon+wY=; b=EHyvuTcluwPYERWF/52OZib3CKwTDR/UxQK6Tuc184kvGZIBCvjiQLbsnEGVQYC3we 6gHg7OrKpq7eyCkxC4EIE13IajAcyWwAlTNa+m/SMb09PXieTK1Wq0gbiPVLuaVOzMZC eKLFVlVx5MFtNhRNRjlfZfBQlLZlWjzlhs9lBEcNpGosZZoMYeRNTRuWBDT/RXCKoT6b 2vInnLBVqxZ6DFsV6u4YWOebtwrV6VnaNHi8bgFqC1iVoV7AGLrfyLuzDQLYxQdbM5op bCKCq25RqZ9KEvVn/JVLbx06jZaxY26zqz+JlsxqjgMpt67S4jm0WRxRryFLp0Ngc2CF EAKw== X-Gm-Message-State: AOJu0YzBsW34F2WRop67pY6nHqJ3kgrQORdfcrJ8bfvXn4tf+BFOxtDr cKwqwe63cw2qP3CWEhQnmPpLeQ== X-Received: by 2002:a05:600c:5493:b0:406:5463:3f51 with SMTP id iv19-20020a05600c549300b0040654633f51mr13710896wmb.25.1698304200933; Thu, 26 Oct 2023 00:10:00 -0700 (PDT) Received: from localhost ([102.36.222.112]) by smtp.gmail.com with ESMTPSA id 20-20020a05600c029400b003fe23b10fdfsm1678918wmk.36.2023.10.26.00.09.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 26 Oct 2023 00:10:00 -0700 (PDT) Date: Thu, 26 Oct 2023 10:09:52 +0300 From: Dan Carpenter To: Philipp Hortmann Cc: Greg Kroah-Hartman , linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org Subject: Re: [PATCH 00/10] staging: rtl8192e: Convert array rx_ring[] to rx_ring Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on howler.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (howler.vger.email [0.0.0.0]); Thu, 26 Oct 2023 00:10:19 -0700 (PDT) On Thu, Oct 26, 2023 at 07:43:26AM +0200, Philipp Hortmann wrote: > Remove some functions that always return false or zero. > Remove a loop that is always executed one time and convert arrays to variables. > Remove some unused constants. > > Tested with rtl8192e (WLL6130-D99) in Mode n (12.5 MB/s) > Transferred this patch over wlan connection of rtl8192e. > > Philipp Hortmann (10): > staging: rtl8192e: Remove HTIOTActIsDisableMCS14() > staging: rtl8192e: Remove HTIOTActIsDisableMCS15() > staging: rtl8192e: Remove HTIOTActIsDisableMCSTwoSpatialStream() > staging: rtl8192e: Remove HTIOTActIsDisableEDCATurbo() > staging: rtl8192e: Remove loops with constant MAX_RX_QUEUE > staging: rtl8192e: Convert array rx_ring[] to variable rx_ring > staging: rtl8192e: Convert array rx_buf[][] to array rx_buf[] > staging: rtl8192e: Convert array rx_ring_dma[] to variable rx_ring_dma > staging: rtl8192e: Convert array rx_idx[] to variable rx_idx > staging: rtl8192e: Remove unused constants starting with MAX_RX_QUEUE > Looks good to me. Reviewed-by: Dan Carpenter regards, dan carpenter