]> err.no Git - linux-2.6/commit
[ALSA] sound/synth/util_mem.c: remove pointless check
authorAdrian Bunk <bunk@stusta.de>
Mon, 30 Jul 2007 13:40:43 +0000 (15:40 +0200)
committerJaroslav Kysela <perex@perex.cz>
Tue, 16 Oct 2007 13:58:15 +0000 (15:58 +0200)
commit8e6c962cd3fbbd4bbde58421a07e63397c07696a
treef0f7e46c13f28bef491eaa8d6697fe9c36e0533e
parent6ddc9d2e82cd488aa117de8dd0a91862cb3656c1
[ALSA] sound/synth/util_mem.c: remove pointless check

The Coverity checker spotted that if anyone would call this function
with 'prev == NULL', he would still get an Oops a few lines below.

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
sound/synth/util_mem.c