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 phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id E84B6C83005 for ; Mon, 22 May 2023 12:25:44 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 0C81B847CF; Mon, 22 May 2023 14:24:18 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.b="eDgGrNvX"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 702AF84667; Mon, 22 May 2023 14:23:16 +0200 (CEST) Received: from mail-lf1-x12f.google.com (mail-lf1-x12f.google.com [IPv6:2a00:1450:4864:20::12f]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 67D128475F for ; Mon, 22 May 2023 14:23:08 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=jens.wiklander@linaro.org Received: by mail-lf1-x12f.google.com with SMTP id 2adb3069b0e04-4f4b256a0c9so883916e87.2 for ; Mon, 22 May 2023 05:23:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1684758187; x=1687350187; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=/5kWyxReGc6+NbR/divUaYbGoYpsEUJapS8Ahu/mXns=; b=eDgGrNvX7xOGsi5V8joS0Ax4Tu8K6WkqrHWKIHxlYSGufqnGTRR1mp3qEqS8UZ10+Y criMHN1Kp+8D7G/EWKfIi3mpVr/HRZykPSmxLawPWBSat0P+VxCKzl50nsQI8gaSJj++ FklfaiuXTgTxEb2ol3xeJcfjriptj5u9jZNTTUxFmAhTTuPAVyg/VPqz4Ob243BKynAG GS/UXYSefSbzLT0S1lFd5eZ0U0w84chyC08H8R9s9RakjPCf6ckeWYJclvyUH/OgcV4y eUE3hI66fzOcq2eeEjqA1uMJo58WGo0umXLCYrg5MnNQWH1YAHI5ioEiuC3F3ygeKtYr gJCA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1684758187; x=1687350187; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=/5kWyxReGc6+NbR/divUaYbGoYpsEUJapS8Ahu/mXns=; b=BMnINmSundGJpriYy+odBpcEeYnrE1Jr0ze99sZEIez3EPom0YZ4PpXZhv8RNdtFsA Dc+DiNbtise2Uw9cr1lG9oJ4OULzQz7bYHPTZIfp6/Mn7gCHDLg0TgPBiAigOuZAntxx Hn/airkvAzRx0SMfrpc3JOrGbrvv7mob9HaMvyLi+4zvwhw34X1pio1gDgJdVDSWMEWg SmvIPp4esMAr0MO7NIwcMuqlBkvlCex6FMN31SnTjyFX19C2HreOJyBtzpEXL+WGBdge TiVfBxQpKp56qG2+yzw6ag/ObaSrymoGgNjXcC0P2iBvDkQxZJAVgW+n5AB60yRW9kvl AfDQ== X-Gm-Message-State: AC+VfDwL0R+JFdhR57kbo/93Khhs/MHI+pzCsyNSTdbLOObjZ6zqrwc6 Nzes4l7YvbUWQv9yl6qXdkgNEHoTktnp/JoYVMw= X-Google-Smtp-Source: ACHHUZ6U8fx1A1LU2xz/aiiAniQ6LFqBJfwqQyMXfEOLYWNp+S2ZJjRRQdIl0Zwl1rOCy4TGkTLVBA== X-Received: by 2002:ac2:5991:0:b0:4f3:aa1e:8fd with SMTP id w17-20020ac25991000000b004f3aa1e08fdmr3342132lfn.68.1684758187582; Mon, 22 May 2023 05:23:07 -0700 (PDT) Received: from rayden.urgonet (h-46-59-78-111.A175.priv.bahnhof.se. [46.59.78.111]) by smtp.gmail.com with ESMTPSA id y9-20020ac24469000000b004efe8174586sm974633lfl.126.2023.05.22.05.23.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 22 May 2023 05:23:07 -0700 (PDT) From: Jens Wiklander To: u-boot@lists.denx.de, linux-btrfs@vger.kernel.org Cc: Ilias Apalodimas , Arnd Bergmann , Huan Wang , Angelo Dureghello , Daniel Schwierzeck , Wolfgang Denk , Marek Vasut , Nobuhiro Iwamatsu , Marek Behun , Qu Wenruo , Tom Rini , Jens Wiklander Subject: [PATCH 7/8] linux/unaligned: remove unused access_ok.h Date: Mon, 22 May 2023 14:22:37 +0200 Message-Id: <20230522122238.4191762-8-jens.wiklander@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230522122238.4191762-1-jens.wiklander@linaro.org> References: <20230522122238.4191762-1-jens.wiklander@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.8 at phobos.denx.de X-Virus-Status: Clean linux/unaligned/access_ok.h is unused, so remove it. Signed-off-by: Jens Wiklander --- include/linux/unaligned/access_ok.h | 66 ----------------------------- 1 file changed, 66 deletions(-) delete mode 100644 include/linux/unaligned/access_ok.h diff --git a/include/linux/unaligned/access_ok.h b/include/linux/unaligned/access_ok.h deleted file mode 100644 index 5f46eee23c38..000000000000 --- a/include/linux/unaligned/access_ok.h +++ /dev/null @@ -1,66 +0,0 @@ -#ifndef _LINUX_UNALIGNED_ACCESS_OK_H -#define _LINUX_UNALIGNED_ACCESS_OK_H - -#include - -static inline u16 get_unaligned_le16(const void *p) -{ - return le16_to_cpup((__le16 *)p); -} - -static inline u32 get_unaligned_le32(const void *p) -{ - return le32_to_cpup((__le32 *)p); -} - -static inline u64 get_unaligned_le64(const void *p) -{ - return le64_to_cpup((__le64 *)p); -} - -static inline u16 get_unaligned_be16(const void *p) -{ - return be16_to_cpup((__be16 *)p); -} - -static inline u32 get_unaligned_be32(const void *p) -{ - return be32_to_cpup((__be32 *)p); -} - -static inline u64 get_unaligned_be64(const void *p) -{ - return be64_to_cpup((__be64 *)p); -} - -static inline void put_unaligned_le16(u16 val, void *p) -{ - *((__le16 *)p) = cpu_to_le16(val); -} - -static inline void put_unaligned_le32(u32 val, void *p) -{ - *((__le32 *)p) = cpu_to_le32(val); -} - -static inline void put_unaligned_le64(u64 val, void *p) -{ - *((__le64 *)p) = cpu_to_le64(val); -} - -static inline void put_unaligned_be16(u16 val, void *p) -{ - *((__be16 *)p) = cpu_to_be16(val); -} - -static inline void put_unaligned_be32(u32 val, void *p) -{ - *((__be32 *)p) = cpu_to_be32(val); -} - -static inline void put_unaligned_be64(u64 val, void *p) -{ - *((__be64 *)p) = cpu_to_be64(val); -} - -#endif /* _LINUX_UNALIGNED_ACCESS_OK_H */ -- 2.34.1