Received: by 2002:ab2:7b86:0:b0:1f7:5705:b850 with SMTP id q6csp467556lqh; Sat, 4 May 2024 08:12:03 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCV+c19fJzU0fHl4Z3aY6Ut0X5KJ4lBCRLL1OWTAWp4qllpaEaw85bHl4+APL/0RPac0XXOugbZRhLDXjMJpGNTCGNymvQ3IxAzKC4Vddg== X-Google-Smtp-Source: AGHT+IGxtxIeLdRgN6zY+mPdntxA369tihh5usyYpPeBPmFmaCOZZ1SjeBPpE+Z607HxCjbeiD2W X-Received: by 2002:a17:906:7f0c:b0:a59:a2f1:5a10 with SMTP id d12-20020a1709067f0c00b00a59a2f15a10mr1214985ejr.6.1714835522814; Sat, 04 May 2024 08:12:02 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714835522; cv=pass; d=google.com; s=arc-20160816; b=RHvDH7/Pm/BvdywESu+/jw3I+xz885bROe2qRouqs63RI2MMIqnm7QhIjNkVgdjlq7 C9ZFWeqKcRdK9j1EHdKIO1sGreX6oVeVeWq0xHHNCONhtuO57smh4sWU6cdkgnVduM/2 N9RDxHmo7B9TwYpPelkBDVeZDvJjL10dAZE2xCPZ/iYlk16+OxVG/CISHpKUBUeTnlP4 bdLojR91UTCmfjiAMVCI+MRONo4Qy4GJ9N3OwwcVrwc6Y/cxUM7QGtI57lw8uxGIrDmI 5XINNkMMMZMKLsmwrsIgCTD1Ej8kdUglt17htKR4cMoPiqVXPIFNdEzcMT9k8pM49QaZ 4BcQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature; bh=g0WbdKNjCehdCeRJHZ2paTLwnUugU8MB7EB+xl8jZe4=; fh=AFYYXSWR5lv0k3wMTYmZeHyiiumXcdvj+ac4vqFBpoE=; b=lJuk6rB+vSs8N1CI4FhghyfXIVhQVDoLcAGpWdl4nf/oABcMYsOrhowN3dIWfHq80p fcmEP6fXM1ECeMXBgCGObr2be8Fptl2HDstcFKP3O1+4d2dYQgda8SZcjQmMDQEFQ3rT I7M1enHr39ceOUqFAzl9mIBgU0GLKWkvJ/E0piT7RXmDws5BGDUipD+joYFEPqOG/gYY OU+bhB/RV5HLoHWKdmp/WHBydDFss/TqyaIGpMaC3f7kVPhPydVZ0+OoBYVQ2jucu4l/ RHRlmlKCAlEUF7cmW0pBAN/wckYEjVkv30rufRKiND5mWvNfGd8AmxKD7DfdljG+RPQA fh0w==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@treblig.org header.s=bytemarkmx header.b=KlFw4HAP; arc=pass (i=1 spf=pass spfdomain=treblig.org dkim=pass dkdomain=treblig.org dmarc=pass fromdomain=treblig.org); spf=pass (google.com: domain of linux-kernel+bounces-168722-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-168722-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=treblig.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id bj9-20020a170906b04900b00a58848a4474si2587614ejb.184.2024.05.04.08.12.02 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 04 May 2024 08:12:02 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-168722-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@treblig.org header.s=bytemarkmx header.b=KlFw4HAP; arc=pass (i=1 spf=pass spfdomain=treblig.org dkim=pass dkdomain=treblig.org dmarc=pass fromdomain=treblig.org); spf=pass (google.com: domain of linux-kernel+bounces-168722-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-168722-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=treblig.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 8957C1F2225E for ; Sat, 4 May 2024 15:03:59 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 9456A56B79; Sat, 4 May 2024 15:03:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=treblig.org header.i=@treblig.org header.b="KlFw4HAP" Received: from mx.treblig.org (mx.treblig.org [46.235.229.95]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 078CE4F88C; Sat, 4 May 2024 15:03:21 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=46.235.229.95 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714835004; cv=none; b=aNRH6o1yk6pk9Q/fQi+s0tKxL48dmhVfUzNV0TD1h4dD6NflxSojw0Mm4bIrPMnrQIm/YYrYK6OY+VEN1TTkwdRFWBBx/RBAKc1DXAQGRY/S36nZl20tubCr76bHacZv8AcwPkKrn8Ub3730++JJktDTtj0WctvMAiai6D6/jNs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714835004; c=relaxed/simple; bh=kLcNP1M1+W5nk0/OLLoVrMbqlISqkONaxKGslNX8z6Q=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=tCeSgJvnpJKden5mA9GMA14xdpAu50v7XwwPEvXQ/xjNlp2wHoKyhVoSOYslte/FgxV1si3IQohMeCj2G8LLmjqGAWNBfpXpFP1Ur83aWdxFjk4jXKhnsEZjSYtbwdLFZto3eKzWV25bUta6pLCnbZ91n5G1o1N/10SOL7BqkQo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=treblig.org; spf=pass smtp.mailfrom=treblig.org; dkim=pass (2048-bit key) header.d=treblig.org header.i=@treblig.org header.b=KlFw4HAP; arc=none smtp.client-ip=46.235.229.95 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=treblig.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=treblig.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=treblig.org ; s=bytemarkmx; h=MIME-Version:Message-ID:Date:Subject:From:Content-Type:From :Subject; bh=g0WbdKNjCehdCeRJHZ2paTLwnUugU8MB7EB+xl8jZe4=; b=KlFw4HAPDr7amoLO o3X79WcNRMuVEDhJpBSFJh+7dDVuzz7vh3y3g+0vMkWXF6gWdO1U+T6D5sFXrU1L5+sXFun0z/YVA o2nzWI0MfcBE4/zVd3c56ajdgz1Pc9dIhkRc8uOU0kCksgaertYYmKLAGZOz9zrEH2x/xbgPXHSBo PgA5Mus4PTcAlZyRh5gKeFNxNbgwgShA3pHziOFSy0QyOYFN2Njofdind/6/j337+xOJMfaLSC4tE eGAAj3yB6ZwuKLkQi8Q+cI3vXtaw6YfRXQhTHeO4roYBv/8RAI35vhz95gUU1TZpDy2EKO7TrmM7Z JGIedcKETSpYnwzdAw==; Received: from localhost ([127.0.0.1] helo=dalek.home.treblig.org) by mx.treblig.org with esmtp (Exim 4.96) (envelope-from ) id 1s3Gv0-004hjR-0Y; Sat, 04 May 2024 15:03:18 +0000 From: linux@treblig.org To: b-liu@ti.com Cc: gregkh@linuxfoundation.org, linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, "Dr. David Alan Gilbert" Subject: [PATCH] usb: musc: Remove unused list 'buffers' Date: Sat, 4 May 2024 16:03:15 +0100 Message-ID: <20240504150315.77598-1-linux@treblig.org> X-Mailer: git-send-email 2.45.0 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit From: "Dr. David Alan Gilbert" Remove the unused list head 'buffers' and the 'struct free_record' which is also unused below it. To me it looks like this has always been unused, but I've not dug into why. Build test only. Signed-off-by: Dr. David Alan Gilbert --- drivers/usb/musb/musb_gadget.c | 9 --------- 1 file changed, 9 deletions(-) diff --git a/drivers/usb/musb/musb_gadget.c b/drivers/usb/musb/musb_gadget.c index 55df0ee413d8e..bdf13911a1e59 100644 --- a/drivers/usb/musb/musb_gadget.c +++ b/drivers/usb/musb/musb_gadget.c @@ -1156,15 +1156,6 @@ void musb_free_request(struct usb_ep *ep, struct usb_request *req) kfree(request); } -static LIST_HEAD(buffers); - -struct free_record { - struct list_head list; - struct device *dev; - unsigned bytes; - dma_addr_t dma; -}; - /* * Context: controller locked, IRQs blocked. */ -- 2.45.0