Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
F
FMC DEL 1ns 4cha - Software
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Projects
FMC DEL 1ns 4cha - Software
Commits
f8d9626f
Commit
f8d9626f
authored
Jan 25, 2014
by
Alessandro Rubini
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
trivial: remove obsolete conditional
Signed-off-by:
Alessandro Rubini
<
rubini@gnudd.com
>
parent
1b545af6
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
8 deletions
+1
-8
fd-irq.c
kernel/fd-irq.c
+1
-8
No files found.
kernel/fd-irq.c
View file @
f8d9626f
...
...
@@ -202,21 +202,14 @@ static int fd_timer_period_jiffies; /* converted from ms at init time */
static
void
fd_tlet
(
unsigned
long
arg
)
{
struct
fd_dev
*
fd
=
(
void
*
)
arg
;
struct
zio_channel
*
chan
=
NULL
;
struct
zio_device
*
zdev
=
fd
->
zdev
;
struct
zio_channel
*
chan
=
zdev
->
cset
[
0
].
chan
;
struct
fmc_device
*
fmc
=
fd
->
fmc
;
/* Always read the hardware fifo until empty */
while
(
!
fd_read_hw_fifo
(
fd
))
;
if
(
zdev
)
{
chan
=
zdev
->
cset
[
0
].
chan
;
}
else
{
/* nobody read the device so far: we lack the information */
goto
out
;
}
/* FIXME: race condition */
if
(
!
test_bit
(
FD_FLAG_INPUT_READY
,
&
fd
->
flags
))
goto
out
;
...
...
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