Skip to content

Commit

Permalink
treewide: Fix warnings
Browse files Browse the repository at this point in the history
Signed-off-by: celtare21 <[email protected]>
  • Loading branch information
celtare21 committed Dec 16, 2022
1 parent 2cd1a8c commit 2695c11
Show file tree
Hide file tree
Showing 5 changed files with 1 addition and 215 deletions.
8 changes: 0 additions & 8 deletions arch/arm64/kernel/cpuinfo.c
Original file line number Diff line number Diff line change
Expand Up @@ -33,13 +33,6 @@
DEFINE_PER_CPU(struct cpuinfo_arm64, cpu_data);
static struct cpuinfo_arm64 boot_cpu_data;

static const char *icache_policy_str[] = {
[ICACHE_POLICY_VPIPT] = "VPIPT",
[ICACHE_POLICY_RESERVED] = "RESERVED/UNKNOWN",
[ICACHE_POLICY_VIPT] = "VIPT",
[ICACHE_POLICY_PIPT] = "PIPT",
};

unsigned long __icache_flags;

static const char *const hwcap_str[] = {
Expand Down Expand Up @@ -329,7 +322,6 @@ device_initcall(cpuinfo_regs_init);

static void cpuinfo_detect_icache_policy(struct cpuinfo_arm64 *info)
{
unsigned int cpu = smp_processor_id();
u32 l1ip = CTR_L1IP(info->reg_ctr);

switch (l1ip) {
Expand Down
Loading

0 comments on commit 2695c11

Please sign in to comment.