trivial warnings fixes (unused variable/function)
Change-Id: I71cedd2c09eeb5d2c2fd2e988dfdde0877627abc
This commit is contained in:
committed by
Masamichi Takagi
parent
39f9d7fdff
commit
1e1fa4f70d
@ -2729,7 +2729,6 @@ out:
|
||||
|
||||
time_t time(void) {
|
||||
struct syscall_request sreq IHK_DMA_ALIGN;
|
||||
struct thread *thread = cpu_local_var(current);
|
||||
struct timespec ats;
|
||||
time_t ret = 0;
|
||||
|
||||
|
||||
@ -790,6 +790,7 @@ out:
|
||||
return error;
|
||||
} /* setup_node_files() */
|
||||
|
||||
#ifdef SETUP_PCI_FILES
|
||||
static int read_file(void *buf, size_t size, char *fmt, va_list ap)
|
||||
{
|
||||
int error;
|
||||
@ -1132,6 +1133,7 @@ out:
|
||||
dprintk("setup_pci_files(%p): %d\n", udp, error);
|
||||
return error;
|
||||
} /* setup_pci_files() */
|
||||
#endif // SETUP_PCI_FILES
|
||||
|
||||
void setup_sysfs_files(ihk_os_t os)
|
||||
{
|
||||
@ -1171,7 +1173,9 @@ void setup_sysfs_files(ihk_os_t os)
|
||||
setup_cpus_sysfs_files(udp);
|
||||
setup_node_files(udp);
|
||||
setup_cpus_sysfs_files_node_link(udp);
|
||||
//setup_pci_files(udp);
|
||||
#ifdef SETUP_PCI_FILES
|
||||
setup_pci_files(udp);
|
||||
#endif
|
||||
|
||||
/* Indicate sysfs files setup completion for boot script */
|
||||
error = sysfsm_mkdirf(os, NULL, "/sys/setup_complete");
|
||||
|
||||
Reference in New Issue
Block a user