Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
S
Simple PCIe FMC carrier SPEC
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
50
Issues
50
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
Simple PCIe FMC carrier SPEC
Commits
6222828f
Commit
6222828f
authored
Jun 21, 2019
by
Federico Vaga
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
sw:drv: remove useless function
Signed-off-by:
Federico Vaga
<
federico.vaga@cern.ch
>
parent
44e8a38e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
12 deletions
+1
-12
spec-core.c
software/kernel/spec-core.c
+1
-12
No files found.
software/kernel/spec-core.c
View file @
6222828f
...
...
@@ -143,17 +143,6 @@ out:
return
err
;
}
/**
* Load default FPGA code
* @spec: SPEC device
*
* Return: 0 on success, otherwise a negative error number
*/
static
int
spec_fw_load_init
(
struct
spec_dev
*
spec
)
{
return
spec_fw_load
(
spec
,
spec_fw_name_init_get
(
spec
));
}
static
void
spec_release
(
struct
device
*
dev
)
{
...
...
@@ -174,7 +163,7 @@ static ssize_t load_golden_fpga_store(struct device *dev,
struct
spec_dev
*
spec
=
to_spec_dev
(
dev
);
int
err
;
err
=
spec_fw_load
_init
(
spec
);
err
=
spec_fw_load
(
spec
,
spec_fw_name_init_get
(
spec
)
);
return
err
<
0
?
err
:
count
;
}
...
...
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