mirror of
https://github.com/torvalds/linux.git
synced 2026-09-12 20:53:03 +02:00
ALSA: asihpi: Drop __force cast
Now that the bitwise parameter definitions are gone for PCM parameters, we don't have to cast with ugly __force prefix. Simply drop a superfluous cast. Reviewed-by: Cezary Rojewski <cezary.rojewski@intel.com> Signed-off-by: Takashi Iwai <tiwai@suse.de> Link: https://patch.msgid.link/20260812060557.80445-10-tiwai@suse.de
This commit is contained in:
parent
ba4239b6d8
commit
68edc3ded9
|
|
@ -280,7 +280,7 @@ static void print_hwparams(struct snd_pcm_substream *substream,
|
|||
snd_pcm_format_width(params_format(p)) / 8);
|
||||
}
|
||||
|
||||
#define INVALID_FORMAT (__force snd_pcm_format_t)(-1)
|
||||
#define INVALID_FORMAT -1
|
||||
|
||||
static const snd_pcm_format_t hpi_to_alsa_formats[] = {
|
||||
INVALID_FORMAT, /* INVALID */
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user