From patchwork Tue Feb 13 11:15:27 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jiri Slaby X-Patchwork-Id: 200374 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:bc8a:b0:106:860b:bbdd with SMTP id dn10csp465759dyb; Tue, 13 Feb 2024 03:16:31 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCWSKzRnXGuxNR4m9qI8XPxbmnC7ocITZJjhU/o7O8Ncy0rvkCOZycrAMZcQjTahQ3mBtv6wjX1QFKZgU536AzIerk0Ikw== X-Google-Smtp-Source: AGHT+IHCdoN9NMBL4SHA7+VK8z9oC3s0rSnY4nOxWkJOwkB0OBbmpf6wHmGME8CSvD0sHF4HBLP2 X-Received: by 2002:a17:90b:106:b0:297:17e1:659c with SMTP id p6-20020a17090b010600b0029717e1659cmr5117529pjz.27.1707822991031; Tue, 13 Feb 2024 03:16:31 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707822991; cv=pass; d=google.com; s=arc-20160816; b=KmIczRhgfj+SZAHgvQnOOi0kiN8C+JHNZCgs58iyTg9JoU8ZUfzHuKRQ6l076xtBky o7j4x4X5yo5auC/uJfPsp3vKxQ/dJhjxTwv+fHhIm5OJXcy1nJxCXehkU7JHVrqhf391 JXBweK5c3eskLEx30qpWkAbMlG6u2vsYbqtYbaU5gYXDeLMCrSTl82iO1z7snxXERSOV 0c0KTytF0a3o2qWOEt2eyOdKKKovEb1K4kfmDN6bGp9ipLh1K11gK/rIepOV2vbFDyIy Rsww95LLQ/VVYcUn57LojAtL1dfXolUMGo8UMH/WeErpx3KqExP9HPSS/Nj/UO/ilwm0 4MtA== 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=27S4dcRZkgno1LeIYbeTIoS3fIyikc4VrDin0k+LM4o=; fh=Nvp25Nb/C46N7IlLAVAUXWdWu7Z2450gP0ZZXDJpfIA=; b=FS5e1WHgkTWpigV2rUL3BaI9WNvLK6WRwsxgiNTiIIIvy82Lhu5IOllRgBXvaK2yTf hLRxFkn3fCmIDa3/IqfMtyXhagycqcrSjuaiO1rRoeVkgIf/nB7lN+YlBu0cI5uXo3pZ xAQxUOY61Taewoc+92ZkpdTK20udPZ02YV7jJt4L91aTCOtPlPXaNqrSggcVe+XupPHu IqIXZpnPmolWWA16mYz6pzPg7gWf55E9INyoaPlYtYufKY2r4ISL8qvzU8bC2wnV+fHf 0QuiQLipk3Kthu4i7Wi1XNKe+heROpwhkuVLP/Uu0BN8DJdmICBhm9jqG4RBpor9/CDF Uvbg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=e6Q36KCi; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-63407-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-63407-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org X-Forwarded-Encrypted: i=2; AJvYcCWK0z67CkTYeCLnWF4fvrVz+8A8tGTRNK56l84ibUKe9XHdrlEIWYz3dKIyWopgimgpnIZ3381UJDXkAvwDB6ZSfOkUYw== Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id mq14-20020a17090b380e00b0029713939b31si1945833pjb.114.2024.02.13.03.16.30 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 13 Feb 2024 03:16:31 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-63407-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=e6Q36KCi; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-63407-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-63407-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.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 sv.mirrors.kernel.org (Postfix) with ESMTPS id C8C7028B3B3 for ; Tue, 13 Feb 2024 11:15:44 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 468C333CCD; Tue, 13 Feb 2024 11:15:34 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="e6Q36KCi" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 8BF4736AE9 for ; Tue, 13 Feb 2024 11:15:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707822931; cv=none; b=aRVV/uyEdluLnmpuClrGgUi0+dhp80kZwHqme/hX8FqOsghQXowQf4XbJCafaKsqh6vh+D2fLzRy9+vcoTDCGH2FHLd3V1Ps01v70QqUCZ8bwzKpnznuqvqEw8KSdiradUdbyukcCEnVa5aiPOoQDCNx+2MlyAwTlNccLahq5VQ= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707822931; c=relaxed/simple; bh=Wna8JtgAJXFSml4zCECcWySuI5KK598dqkQNHIrvBlw=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=J+U5eGxQrffazlFrYDJIKWT9zS+8I+xlE7mBuUQY0VlClUp/0Qo/Iwiff3cIoT5H0Cb4uY/1qnBmsXxbAUCbgZu5X9fcicarLPW80nJNJpNyZ6h3Oy6YQmGWJxcLbd3olgTZCgdZjbVhDMzPsUGfZPbw71GzME1PbJRXzY1IHRo= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=e6Q36KCi; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id D0501C433F1; Tue, 13 Feb 2024 11:15:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1707822931; bh=Wna8JtgAJXFSml4zCECcWySuI5KK598dqkQNHIrvBlw=; h=From:To:Cc:Subject:Date:From; b=e6Q36KCij9Ayeg7/YRQpxo20tpRc2JwVQLUClRX40VUtHnaN6R6YDWvSElfT3Vpsa w09jmutGMszGhGvnShEeeGPSYRXCil9SawvLjzvY5EdteW2smoBuJtJ+YuZ4FNhbto cX65lmwDldO98I/coM9mVSBExGgLFK4rNTc4qaikHoXqhsqabrhS8GeAQz2ozG5yZ8 +/jCu8jLiUFkCkeZ+BA2hMQw6qsI7cppjzW08MSnYIONRtwGWAnIAjguWwtGaMG2Pw NqwaGGAbvdrgqbDa8VBZkHEjvde38pAhMObrT2cnR/wOHcCtH8LZuJ7d+LdYgPdzd+ pHsJgtD4y/0hw== From: "Jiri Slaby (SUSE)" To: arnd@arndb.de Cc: linux-kernel@vger.kernel.org, "Jiri Slaby (SUSE)" , Clemens Ladisch , Greg Kroah-Hartman Subject: [PATCH] hpet: remove hpets::hp_clocksource Date: Tue, 13 Feb 2024 12:15:27 +0100 Message-ID: <20240213111527.25218-1-jirislaby@kernel.org> X-Mailer: git-send-email 2.43.1 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1790782200533548648 X-GMAIL-MSGID: 1790782200533548648 Commit cf8e8658100d (arch: Remove Itanium (IA-64) architecture) removed the last user of hpets::hp_clocksource. Drop the member. Found by https://github.com/jirislaby/clang-struct. Signed-off-by: Jiri Slaby (SUSE) Cc: Clemens Ladisch Cc: Arnd Bergmann Cc: Greg Kroah-Hartman Acked-by: Arnd Bergmann --- drivers/char/hpet.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/char/hpet.c b/drivers/char/hpet.c index 9c90b1d2c036..d51fc8321d41 100644 --- a/drivers/char/hpet.c +++ b/drivers/char/hpet.c @@ -87,7 +87,6 @@ struct hpets { struct hpets *hp_next; struct hpet __iomem *hp_hpet; unsigned long hp_hpet_phys; - struct clocksource *hp_clocksource; unsigned long long hp_tick_freq; unsigned long hp_delta; unsigned int hp_ntimer;