mirror of
https://github.com/torvalds/linux.git
synced 2026-09-14 16:10:02 +02:00
ALSA: kunit: Drop __force casts
Now that the bitwise parameter definitions are gone for PCM parameters, we don't have to cast with ugly __force prefix. Simply drop those superfluous casts Reviewed-by: Cezary Rojewski <cezary.rojewski@intel.com> Signed-off-by: Takashi Iwai <tiwai@suse.de> Link: https://patch.msgid.link/20260812060557.80445-7-tiwai@suse.de
This commit is contained in:
parent
01edf81ac8
commit
a47bc1c7c4
|
|
@ -17,8 +17,8 @@
|
|||
.name = #fmt, \
|
||||
}
|
||||
|
||||
#define WRONG_FORMAT_1 (__force snd_pcm_format_t)((__force int)SNDRV_PCM_FORMAT_LAST + 1)
|
||||
#define WRONG_FORMAT_2 (__force snd_pcm_format_t)-1
|
||||
#define WRONG_FORMAT_1 (SNDRV_PCM_FORMAT_LAST + 1)
|
||||
#define WRONG_FORMAT_2 -1
|
||||
|
||||
#define VALID_NAME "ValidName"
|
||||
#define NAME_W_SPEC_CHARS "In%v@1id name"
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user