summaryrefslogtreecommitdiff
path: root/drivers/media/usb/gspca/konica.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/usb/gspca/konica.c')
-rw-r--r--drivers/media/usb/gspca/konica.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/usb/gspca/konica.c b/drivers/media/usb/gspca/konica.c
index 39c96bb4c985..0712b1bc90b4 100644
--- a/drivers/media/usb/gspca/konica.c
+++ b/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)