lkml.org 
[lkml]   [2008]   [Aug]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    Subject[PATCH] ALSA: pcm_native: remove unused label
    gcc warns about it:
    sound/core/pcm_native.c: In function 'snd_pcm_fasync':
    sound/core/pcm_native.c:3262: warning: label 'out' defined but not used

    Signed-off-by: Marcin Slusarz <marcin.slusarz@gmail.com>
    Cc: Takashi Iwai <tiwai@suse.de>
    Cc: Jaroslav Kysela <perex@perex.cz>
    ---
    sound/core/pcm_native.c | 1 -
    1 files changed, 0 insertions(+), 1 deletions(-)

    diff --git a/sound/core/pcm_native.c b/sound/core/pcm_native.c
    index c49b9d9..333cff6 100644
    --- a/sound/core/pcm_native.c
    +++ b/sound/core/pcm_native.c
    @@ -3259,7 +3259,6 @@ static int snd_pcm_fasync(int fd, struct file * file, int on)
    runtime = substream->runtime;

    err = fasync_helper(fd, file, on, &runtime->fasync);
    -out:
    unlock_kernel();
    if (err < 0)
    return err;
    --
    1.5.4.5


    \
     
     \ /
      Last update: 2008-08-03 18:53    [W:0.019 / U:124.988 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site