| .. | .. |
|---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-only |
|---|
| 1 | 2 | /***************************************************************************** |
|---|
| 2 | 3 | * |
|---|
| 3 | 4 | * Copyright (C) 2008 Cedric Bregardis <cedric.bregardis@free.fr> and |
|---|
| 4 | 5 | * Jean-Christian Hassler <jhassler@free.fr> |
|---|
| 5 | 6 | * |
|---|
| 6 | 7 | * This file is part of the Audiowerk2 ALSA driver |
|---|
| 7 | | - * |
|---|
| 8 | | - * The Audiowerk2 ALSA driver is free software; you can redistribute it and/or |
|---|
| 9 | | - * modify it under the terms of the GNU General Public License as published by |
|---|
| 10 | | - * the Free Software Foundation; version 2. |
|---|
| 11 | | - * |
|---|
| 12 | | - * The Audiowerk2 ALSA driver is distributed in the hope that it will be useful, |
|---|
| 13 | | - * but WITHOUT ANY WARRANTY; without even the implied warranty of |
|---|
| 14 | | - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|---|
| 15 | | - * GNU General Public License for more details. |
|---|
| 16 | | - * |
|---|
| 17 | | - * You should have received a copy of the GNU General Public License |
|---|
| 18 | | - * along with the Audiowerk2 ALSA driver; if not, write to the Free Software |
|---|
| 19 | | - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, |
|---|
| 20 | | - * USA. |
|---|
| 21 | 8 | * |
|---|
| 22 | 9 | *****************************************************************************/ |
|---|
| 23 | 10 | |
|---|
| .. | .. |
|---|
| 343 | 330 | irqreturn_t snd_aw2_saa7146_interrupt(int irq, void *dev_id) |
|---|
| 344 | 331 | { |
|---|
| 345 | 332 | unsigned int isr; |
|---|
| 346 | | - unsigned int iicsta; |
|---|
| 333 | + __always_unused unsigned int iicsta; |
|---|
| 347 | 334 | struct snd_aw2_saa7146 *chip = dev_id; |
|---|
| 348 | 335 | |
|---|
| 349 | 336 | isr = READREG(ISR); |
|---|