forked from Imagelibrary/rtems
2011-10-23 Ralf Corsépius <ralf.corsepius@rtems.org>
* page.c: Remove unused var "dirCount".
This commit is contained in:
@@ -1,3 +1,7 @@
|
||||
2011-10-23 Ralf Corsépius <ralf.corsepius@rtems.org>
|
||||
|
||||
* page.c: Remove unused var "dirCount".
|
||||
|
||||
2011-03-14 Joel Sherrill <joel.sherrill@oarcorp.com>
|
||||
|
||||
* cpu.h: Remove warnings.
|
||||
|
||||
@@ -336,7 +336,6 @@ int _CPU_unmap_virt_address(
|
||||
linear_address linearAddr;
|
||||
page_table *localPageTable;
|
||||
unsigned int lastAddr ;
|
||||
unsigned int dirCount ;
|
||||
unsigned char pagingWasEnabled;
|
||||
|
||||
pagingWasEnabled = 0;
|
||||
@@ -348,7 +347,6 @@ int _CPU_unmap_virt_address(
|
||||
|
||||
linearAddr.address = (unsigned int)mappedAddress;
|
||||
lastAddr = (unsigned int)mappedAddress + (size - 1);
|
||||
dirCount = linearAddr.bits.directory;
|
||||
|
||||
while (1){
|
||||
|
||||
|
||||
Reference in New Issue
Block a user