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
0220d488
Commit
0220d488
authored
Jul 25, 2003
by
Geert Uytterhoeven
Committed by
Jens Axboe
Jul 25, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] Amiga serial warning
Amiga serial: Kill unused variable warning
parent
5d6a2114
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
drivers/char/amiserial.c
drivers/char/amiserial.c
+3
-3
No files found.
drivers/char/amiserial.c
View file @
0220d488
...
@@ -2145,14 +2145,14 @@ static int __init rs_init(void)
...
@@ -2145,14 +2145,14 @@ static int __init rs_init(void)
static
__exit
void
rs_exit
(
void
)
static
__exit
void
rs_exit
(
void
)
{
{
int
e
1
,
e2
;
int
e
rror
;
struct
async_struct
*
info
=
rs_table
[
0
].
info
;
struct
async_struct
*
info
=
rs_table
[
0
].
info
;
/* printk("Unloading %s: version %s\n", serial_name, serial_version); */
/* printk("Unloading %s: version %s\n", serial_name, serial_version); */
tasklet_kill
(
&
info
->
tlet
);
tasklet_kill
(
&
info
->
tlet
);
if
((
e
1
=
tty_unregister_driver
(
serial_driver
)))
if
((
e
rror
=
tty_unregister_driver
(
serial_driver
)))
printk
(
"SERIAL: failed to unregister serial driver (%d)
\n
"
,
printk
(
"SERIAL: failed to unregister serial driver (%d)
\n
"
,
e
1
);
e
rror
);
put_tty_driver
(
serial_driver
);
put_tty_driver
(
serial_driver
);
if
(
info
)
{
if
(
info
)
{
...
...
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