Browse Source

Remove definitions of unreferenced macros virt_to_page and vmalloc_32 from
dv1394 and video1394.

Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
Signed-off-by: Jody McIntyre <scjody@modernduck.com>

Stefan Richter 19 năm trước cách đây
mục cha
commit
ef797546a9

+ 0 - 9
drivers/ieee1394/dv1394.c

@@ -123,15 +123,6 @@
 
 
 #include "ohci1394.h"
 #include "ohci1394.h"
 
 
-#ifndef virt_to_page
-#define virt_to_page(x) MAP_NR(x)
-#endif
-
-#ifndef vmalloc_32
-#define vmalloc_32(x) vmalloc(x)
-#endif
-
-
 /* DEBUG LEVELS:
 /* DEBUG LEVELS:
    0 - no debugging messages
    0 - no debugging messages
    1 - some debugging messages, but none during DMA frame transmission
    1 - some debugging messages, but none during DMA frame transmission

+ 0 - 8
drivers/ieee1394/video1394.c

@@ -77,14 +77,6 @@
 
 
 #define ISO_CHANNELS 64
 #define ISO_CHANNELS 64
 
 
-#ifndef virt_to_page
-#define virt_to_page(x) MAP_NR(x)
-#endif
-
-#ifndef vmalloc_32
-#define vmalloc_32(x) vmalloc(x)
-#endif
-
 struct it_dma_prg {
 struct it_dma_prg {
 	struct dma_cmd begin;
 	struct dma_cmd begin;
 	quadlet_t data[4];
 	quadlet_t data[4];