Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
4eb192d2
Commit
4eb192d2
authored
Dec 03, 2002
by
Alexander Viro
Committed by
Linus Torvalds
Dec 03, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] pciba cleanup
switched to devfs_remove(), killed gratitious devfs_handle_t variable.
parent
f88f81ef
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
8 deletions
+3
-8
arch/ia64/sn/io/pciba.c
arch/ia64/sn/io/pciba.c
+3
-8
No files found.
arch/ia64/sn/io/pciba.c
View file @
4eb192d2
...
...
@@ -281,10 +281,6 @@ free_nodes(void)
}
#endif
static
devfs_handle_t
pciba_devfs_handle
;
#if !defined(CONFIG_IA64_SGI_SN1)
static
status
__init
...
...
@@ -296,8 +292,7 @@ register_with_devfs(void)
TRACE
();
pciba_devfs_handle
=
devfs_mk_dir
(
NULL
,
"pci"
,
NULL
);
if
(
pciba_devfs_handle
==
NULL
)
if
(
!
devfs_mk_dir
(
NULL
,
"pci"
,
NULL
))
return
failure
;
/* FIXME: don't forget /dev/pci/mem & /dev/pci/io */
...
...
@@ -314,7 +309,7 @@ register_with_devfs(void)
return
failure
;
if
(
register_pci_device
(
device_dir_handle
,
dev
)
==
failure
)
{
devfs_
unregister
(
pciba_devfs_handle
);
devfs_
remove
(
"pci"
);
return
failure
;
}
}
...
...
@@ -344,7 +339,7 @@ register_with_devfs(void)
return
failure
;
if
(
register_pci_device
(
device_dir_handle
,
dev
)
==
failure
)
{
devfs_
unregister
(
pciba_devfs_handle
);
devfs_
remove
(
"pci"
);
return
failure
;
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment