ALSA: emu10k1: delete an unnecessary condition
authorDan Carpenter <dan.carpenter@oracle.com>
Fri, 5 Jun 2020 11:01:34 +0000 (14:01 +0300)
committerTakashi Iwai <tiwai@suse.de>
Fri, 5 Jun 2020 15:56:43 +0000 (17:56 +0200)
commit91231e525bb654731f60d6699472e1e98379bb01
treeee6a0534480f52a35822a2ec175a094cda08b31e
parent862b2509d157c629dd26d7ac6c6cdbf043d332eb
ALSA: emu10k1: delete an unnecessary condition

The "val" variable is an unsigned int so it's always <= UINT_MAX.  This
check is always true so it can be removed.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Link: https://lore.kernel.org/r/20200605110134.GC978434@mwanda
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/emu10k1/emu10k1x.c