parisc: Mark image_size __maybe_unused in perf_write()

Signed-off-by: Helge Deller <deller@gmx.de>
This commit is contained in:
Helge Deller 2023-06-30 12:31:14 +02:00
parent 0e466703d9
commit 9e142b7286

View File

@ -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;