summaryrefslogtreecommitdiffstats
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
parentparisc: module: Mark symindex __maybe_unused (diff)
downloadlinux-9e142b728605dbfad337ed91c0ba374f232a1e04.tar.xz
linux-9e142b728605dbfad337ed91c0ba374f232a1e04.zip
parisc: Mark image_size __maybe_unused in perf_write()
Signed-off-by: Helge Deller <deller@gmx.de>
-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;