Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=757d5a7561842dd89c79d079a3c0935cd49afb9b
Commit:     757d5a7561842dd89c79d079a3c0935cd49afb9b
Parent:     b05e578740b5e58b729857321048c4babb24bf2b
Author:     Marcin Ślusarz <[EMAIL PROTECTED]>
AuthorDate: Fri Dec 14 12:51:24 2007 +0100
Committer:  Jaroslav Kysela <[EMAIL PROTECTED]>
CommitDate: Thu Jan 31 17:29:35 2008 +0100

    [ALSA] via82xx: minor optimization in snd_via82xx_free
    
    via82xx: minor optimization in snd_via82xx_free
    don't check X, when we just checked !X before goto
    
    Signed-off-by: Marcin Ślusarz <[EMAIL PROTECTED]>
    Signed-off-by: Takashi Iwai <[EMAIL PROTECTED]>
    Signed-off-by: Jaroslav Kysela <[EMAIL PROTECTED]>
---
 sound/pci/via82xx.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/sound/pci/via82xx.c b/sound/pci/via82xx.c
index ad58ca5..18a58e4 100644
--- a/sound/pci/via82xx.c
+++ b/sound/pci/via82xx.c
@@ -2238,9 +2238,9 @@ static int snd_via82xx_free(struct via82xx *chip)
        for (i = 0; i < chip->num_devs; i++)
                snd_via82xx_channel_reset(chip, &chip->devs[i]);
        synchronize_irq(chip->irq);
-      __end_hw:
        if (chip->irq >= 0)
                free_irq(chip->irq, chip);
+ __end_hw:
        release_and_free_resource(chip->mpu_res);
        pci_release_regions(chip->pci);
 
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to