Skip to content

Commit

Permalink
ALSA: isa: Use INVALID_HWIRQ definition
Browse files Browse the repository at this point in the history
Use specific definition for invalid IRQ. It makes the
code uniform in respect to the constant used for that.
No functional change intended.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
  • Loading branch information
andy-shev authored and intel-lab-lkp committed Jul 16, 2022
1 parent 53f07e9 commit 6549abb
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions sound/isa/sscape.c
Original file line number Diff line number Diff line change
Expand Up @@ -140,8 +140,7 @@ struct soundscape {
unsigned char midi_vol;
};

#define INVALID_IRQ ((unsigned)-1)

#define INVALID_IRQ ((unsigned)INVALID_HWIRQ)

static inline struct soundscape *get_card_soundscape(struct snd_card *c)
{
Expand Down

0 comments on commit 6549abb

Please sign in to comment.