Merge branch 'for-3.19' of git://linux-nfs.org/~bfields/linux
[pandora-kernel.git] / drivers / dma / dmaengine.c
index 24bfaf0..e057935 100644 (file)
@@ -330,8 +330,7 @@ static int __init dma_channel_table_init(void)
        if (err) {
                pr_err("initialization failure\n");
                for_each_dma_cap_mask(cap, dma_cap_mask_all)
-                       if (channel_table[cap])
-                               free_percpu(channel_table[cap]);
+                       free_percpu(channel_table[cap]);
        }
 
        return err;