* Removed my copyright. I had nothing to do with this file.
* FileMapDisk::RegisterFileMapBootItem(): Commented out unreachable code (CID 10367). * Automatic whitespace cleanup. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40064 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -1,8 +1,9 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright 2005, Ingo Weinhold <[email protected]>.
|
* Copyright 2005, ?.
|
||||||
* All rights reserved. Distributed under the terms of the MIT License.
|
* All rights reserved. Distributed under the terms of the MIT License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
#include <boot/FileMapDisk.h>
|
#include <boot/FileMapDisk.h>
|
||||||
#include <boot_item.h>
|
#include <boot_item.h>
|
||||||
|
|
||||||
@@ -174,6 +175,7 @@ status_t
|
|||||||
FileMapDisk::RegisterFileMapBootItem()
|
FileMapDisk::RegisterFileMapBootItem()
|
||||||
{
|
{
|
||||||
return B_ERROR;
|
return B_ERROR;
|
||||||
|
#if 0
|
||||||
struct file_map_boot_item *item;
|
struct file_map_boot_item *item;
|
||||||
item = (struct file_map_boot_item *)malloc(sizeof(struct file_map_boot_item));
|
item = (struct file_map_boot_item *)malloc(sizeof(struct file_map_boot_item));
|
||||||
item->num_runs = FMAP_MAX_RUNS;
|
item->num_runs = FMAP_MAX_RUNS;
|
||||||
@@ -184,6 +186,5 @@ FileMapDisk::RegisterFileMapBootItem()
|
|||||||
// err = add_boot_item("file_map_disk", item, sizeof(struct file_map_boot_item));
|
// err = add_boot_item("file_map_disk", item, sizeof(struct file_map_boot_item));
|
||||||
err = B_ERROR;
|
err = B_ERROR;
|
||||||
return err;
|
return err;
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user