summaryrefslogtreecommitdiffstats
path: root/kernel/drivers/media/usb/gspca/konica.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/drivers/media/usb/gspca/konica.c')
-rw-r--r--kernel/drivers/media/usb/gspca/konica.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/drivers/media/usb/gspca/konica.c b/kernel/drivers/media/usb/gspca/konica.c
index 39c96bb4c..0712b1bc9 100644
--- a/kernel/drivers/media/usb/gspca/konica.c
+++ b/kernel/drivers/media/usb/gspca/konica.c
@@ -243,7 +243,7 @@ static int sd_start(struct gspca_dev *gspca_dev)
static void sd_stopN(struct gspca_dev *gspca_dev)
{
- struct sd *sd = (struct sd *) gspca_dev;
+ struct sd *sd __maybe_unused = (struct sd *) gspca_dev;
konica_stream_off(gspca_dev);
#if IS_ENABLED(CONFIG_INPUT)