From patchwork Thu Sep 21 10:23:46 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lorenzo Bianconi X-Patchwork-Id: 13394345 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 9CE13E7D0A4 for ; Thu, 21 Sep 2023 19:01:33 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231145AbjIUTBg (ORCPT ); Thu, 21 Sep 2023 15:01:36 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42760 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230071AbjIUTBL (ORCPT ); Thu, 21 Sep 2023 15:01:11 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2E9AC80F85 for ; Thu, 21 Sep 2023 10:36:52 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id D5A2DC32791; Thu, 21 Sep 2023 10:23:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1695291839; bh=yEMCuP75RzU26/gJYkkF862Cbk6QqqQc4KgA55rLPV8=; h=From:To:Cc:Subject:Date:From; b=iR/1+ySnpN42QF9VbVkqFkj0hhrMu5F5iOFfdQRBkzLdj8ECUPNybKkdGlZ7H5Pd0 LHBc0EOXBDMHNMUCne2QH0HkzX1f2UV/iwSb7f5ySkRRxGDVrDTT3gM4QXNPB+hJmx bqZ0+nhHh+Zlsh0AGkDFQwhfadPE4OSlsbmJq/M1gAZTONHXvLz2gvY3LPs1d4254L HuJ7W0uA6TdWRtuPgMgTPwXk8KJN7EVD7O+GYFZKhVThR5qXwu+59pqwEtJm5jZtPe W6SuTiluEhLf9apJECwMucPC/sRoTzOrJlCI/+l/xc1xDWm+dX27I+zT1pPCBSgsSd tE9MbxAGwmA2A== From: Lorenzo Bianconi To: nbd@nbd.name Cc: lorenzo.bianconi@redhat.com, linux-wireless@vger.kernel.org, deren.wu@mediatek.com, sean.wang@mediatek.com Subject: [PATCH 0/2] wifi: mt76: mt792xu: some more code de-duplication Date: Thu, 21 Sep 2023 12:23:46 +0200 Message-ID: X-Mailer: git-send-email 2.41.0 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org Remove some more usb duplicated code shared between mt7921 and mt7925 Lorenzo Bianconi (2): wifi: mt76: mt792x: move mt7921_skb_add_usb_sdio_hdr in mt792x module wifi: mt76: mt792x: move some common usb code in mt792x module .../net/wireless/mediatek/mt76/mt7921/mac.c | 2 +- .../net/wireless/mediatek/mt76/mt7921/main.c | 21 +----------------- .../wireless/mediatek/mt76/mt7921/mt7921.h | 17 -------------- .../wireless/mediatek/mt76/mt7921/sdio_mcu.c | 2 +- .../net/wireless/mediatek/mt76/mt7921/usb.c | 12 ++-------- .../net/wireless/mediatek/mt76/mt7925/mac.c | 2 +- .../net/wireless/mediatek/mt76/mt7925/main.c | 20 +---------------- .../wireless/mediatek/mt76/mt7925/mt7925.h | 16 -------------- .../net/wireless/mediatek/mt76/mt7925/usb.c | 12 ++-------- drivers/net/wireless/mediatek/mt76/mt792x.h | 18 +++++++++++++++ .../net/wireless/mediatek/mt76/mt792x_core.c | 22 +++++++++++++++++++ .../net/wireless/mediatek/mt76/mt792x_usb.c | 9 ++++++++ 12 files changed, 58 insertions(+), 95 deletions(-)