Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
F
FMC TDC 1ns 5cha - 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 TDC 1ns 5cha - Software
Commits
02a2d342
Commit
02a2d342
authored
Jan 28, 2015
by
Federico Vaga
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
kernel: remove unused variable
Signed-off-by:
Federico Vaga
<
federico.vaga@cern.ch
>
parent
ef46eaff
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
0 additions
and
6 deletions
+0
-6
ft-core.c
kernel/ft-core.c
+0
-1
ft-irq.c
kernel/ft-irq.c
+0
-1
ft-spec.c
kernel/ft-spec.c
+0
-2
ft-svec.c
kernel/ft-svec.c
+0
-2
No files found.
kernel/ft-core.c
View file @
02a2d342
...
@@ -187,7 +187,6 @@ int ft_probe(struct fmc_device *fmc)
...
@@ -187,7 +187,6 @@ int ft_probe(struct fmc_device *fmc)
struct
device
*
dev
=
fmc
->
hwdev
;
struct
device
*
dev
=
fmc
->
hwdev
;
char
*
fwname
;
char
*
fwname
;
int
i
,
index
,
ret
,
ord
;
int
i
,
index
,
ret
,
ord
;
signed
long
addr
;
ft
=
kzalloc
(
sizeof
(
struct
fmctdc_dev
),
GFP_KERNEL
);
ft
=
kzalloc
(
sizeof
(
struct
fmctdc_dev
),
GFP_KERNEL
);
if
(
!
ft
)
{
if
(
!
ft
)
{
...
...
kernel/ft-irq.c
View file @
02a2d342
...
@@ -58,7 +58,6 @@ int ft_read_sw_fifo(struct fmctdc_dev *ft, int channel,
...
@@ -58,7 +58,6 @@ int ft_read_sw_fifo(struct fmctdc_dev *ft, int channel,
uint32_t
*
v
;
uint32_t
*
v
;
struct
ft_wr_timestamp
ts
;
struct
ft_wr_timestamp
ts
;
struct
ft_channel_state
*
st
;
struct
ft_channel_state
*
st
;
unsigned
long
flags
;
int
ret
;
int
ret
;
st
=
&
ft
->
channels
[
channel
-
1
];
st
=
&
ft
->
channels
[
channel
-
1
];
...
...
kernel/ft-spec.c
View file @
02a2d342
...
@@ -20,8 +20,6 @@
...
@@ -20,8 +20,6 @@
static
int
ft_spec_reset
(
struct
fmctdc_dev
*
ft
)
static
int
ft_spec_reset
(
struct
fmctdc_dev
*
ft
)
{
{
struct
spec_dev
*
spec
=
(
struct
spec_dev
*
)
ft
->
fmc
->
carrier_data
;
/* it takes a while for the PLL to bootstrap.... or not!
/* it takes a while for the PLL to bootstrap.... or not!
We have no possibility to check, as the PLL status register is driven
We have no possibility to check, as the PLL status register is driven
by the clock from this PLL :( */
by the clock from this PLL :( */
...
...
kernel/ft-svec.c
View file @
02a2d342
...
@@ -22,8 +22,6 @@
...
@@ -22,8 +22,6 @@
static
int
ft_svec_reset
(
struct
fmctdc_dev
*
ft
)
static
int
ft_svec_reset
(
struct
fmctdc_dev
*
ft
)
{
{
unsigned
long
tmo
;
/* FIXME: An UGLY hack: ft_svec_reset() executed on slot 0
/* FIXME: An UGLY hack: ft_svec_reset() executed on slot 0
(first mezzanine to be initialized) resets BOTH cards. The reason is
(first mezzanine to be initialized) resets BOTH cards. The reason is
that we need both mezzanines PLLs running to read the entire
that we need both mezzanines PLLs running to read the entire
...
...
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