ALSA: pcm - Remove unneeded ifdef pgprot_noncached
authorTakashi Iwai <tiwai@suse.de>
Mon, 18 Jan 2010 13:49:50 +0000 (14:49 +0100)
committerTakashi Iwai <tiwai@suse.de>
Mon, 18 Jan 2010 13:49:50 +0000 (14:49 +0100)
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/core/pcm_native.c

index a870fe69657890186fb92314fe7769bf743f1e6f..5df0d21f18b38de14ad9c2140c03621f4d93f7f3 100644 (file)
@@ -3162,9 +3162,7 @@ int snd_pcm_lib_mmap_iomem(struct snd_pcm_substream *substream,
        long size;
        unsigned long offset;
 
-#ifdef pgprot_noncached
        area->vm_page_prot = pgprot_noncached(area->vm_page_prot);
-#endif
        area->vm_flags |= VM_IO;
        size = area->vm_end - area->vm_start;
        offset = area->vm_pgoff << PAGE_SHIFT;