summaryrefslogtreecommitdiff
path: root/arch/parisc
diff options
context:
space:
mode:
authorHelge Deller <deller@gmx.de>2023-06-30 12:31:14 +0200
committerHelge Deller <deller@gmx.de>2023-06-30 17:14:14 +0200
commit9e142b728605dbfad337ed91c0ba374f232a1e04 (patch)
tree25b6e1f8f0b42609814618e7aa7a55c439df5d5d /arch/parisc
parent0e466703d96a86d8bc9b6a02bee22a11332431ed (diff)
parisc: Mark image_size __maybe_unused in perf_write()
Signed-off-by: Helge Deller <deller@gmx.de>
Diffstat (limited to 'arch/parisc')
-rw-r--r--arch/parisc/kernel/perf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/parisc/kernel/perf.c b/arch/parisc/kernel/perf.c
index d46b6709ec56..90b04d8af212 100644
--- a/arch/parisc/kernel/perf.c
+++ b/arch/parisc/kernel/perf.c
@@ -288,7 +288,7 @@ static ssize_t perf_read(struct file *file, char __user *buf, size_t cnt, loff_t
static ssize_t perf_write(struct file *file, const char __user *buf,
size_t count, loff_t *ppos)
{
- size_t image_size;
+ size_t image_size __maybe_unused;
uint32_t image_type;
uint32_t interface_type;
uint32_t test;