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
b80f8a3a
Commit
b80f8a3a
authored
Jan 03, 2003
by
Russell King
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[SERIAL] Remove unused info->event
parent
8de02ded
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
3 deletions
+0
-3
drivers/serial/core.c
drivers/serial/core.c
+0
-2
include/linux/serial_core.h
include/linux/serial_core.h
+0
-1
No files found.
drivers/serial/core.c
View file @
b80f8a3a
...
@@ -1267,7 +1267,6 @@ static void uart_close(struct tty_struct *tty, struct file *filp)
...
@@ -1267,7 +1267,6 @@ static void uart_close(struct tty_struct *tty, struct file *filp)
if
(
tty
->
ldisc
.
flush_buffer
)
if
(
tty
->
ldisc
.
flush_buffer
)
tty
->
ldisc
.
flush_buffer
(
tty
);
tty
->
ldisc
.
flush_buffer
(
tty
);
tty
->
closing
=
0
;
tty
->
closing
=
0
;
info
->
event
=
0
;
info
->
tty
=
NULL
;
info
->
tty
=
NULL
;
if
(
info
->
blocked_open
)
{
if
(
info
->
blocked_open
)
{
if
(
info
->
state
->
close_delay
)
{
if
(
info
->
state
->
close_delay
)
{
...
@@ -1376,7 +1375,6 @@ static void uart_hangup(struct tty_struct *tty)
...
@@ -1376,7 +1375,6 @@ static void uart_hangup(struct tty_struct *tty)
return
;
return
;
}
}
uart_shutdown
(
info
);
uart_shutdown
(
info
);
info
->
event
=
0
;
state
->
count
=
0
;
state
->
count
=
0
;
info
->
flags
&=
~
UIF_NORMAL_ACTIVE
;
info
->
flags
&=
~
UIF_NORMAL_ACTIVE
;
info
->
tty
=
NULL
;
info
->
tty
=
NULL
;
...
...
include/linux/serial_core.h
View file @
b80f8a3a
...
@@ -242,7 +242,6 @@ struct uart_info {
...
@@ -242,7 +242,6 @@ struct uart_info {
unsigned
char
*
tmpbuf
;
unsigned
char
*
tmpbuf
;
struct
semaphore
tmpbuf_sem
;
struct
semaphore
tmpbuf_sem
;
unsigned
long
event
;
int
blocked_open
;
int
blocked_open
;
struct
tasklet_struct
tlet
;
struct
tasklet_struct
tlet
;
...
...
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