Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
S
Simple VME FMC Carrier SVEC - 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
Simple VME FMC Carrier SVEC - Software
Commits
422dcf33
Commit
422dcf33
authored
Dec 17, 2012
by
Alessandro Rubini
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
kernel/svec-fmc: remove unused validate()
Signed-off-by:
Alessandro Rubini
<
rubini@gnudd.com
>
parent
81136a2e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
8 deletions
+1
-8
svec-fmc.c
kernel/svec-fmc.c
+1
-8
No files found.
kernel/svec-fmc.c
View file @
422dcf33
...
...
@@ -21,12 +21,6 @@ module_param_named(show_sdb, svec_show_sdb, int, 0444);
/* The main role of this file is offering the fmc_operations for the svec */
static
int
svec_validate
(
struct
fmc_device
*
fmc
,
struct
fmc_driver
*
drv
)
{
return
0
;
/* everyhing is valid */
}
static
uint32_t
svec_readl
(
struct
fmc_device
*
fmc
,
int
offset
)
{
uint32_t
val
=
0
;
...
...
@@ -63,7 +57,7 @@ static int svec_reprogram(struct fmc_device *fmc, struct fmc_driver *drv,
if
(
!
strlen
(
gw
))
{
/* use module parameters from the driver */
int
index
;
index
=
svec_validate
(
fmc
,
drv
);
index
=
0
;
/* FIXME: check what this is */
gw
=
drv
->
gw_val
[
index
];
if
(
!
gw
)
...
...
@@ -151,7 +145,6 @@ static int svec_write_ee(struct fmc_device *fmc, int pos,
static
struct
fmc_operations
svec_fmc_operations
=
{
.
readl
=
svec_readl
,
.
writel
=
svec_writel
,
.
validate
=
svec_validate
,
.
reprogram
=
svec_reprogram
,
.
irq_request
=
svec_irq_request
,
.
irq_ack
=
svec_irq_ack
,
...
...
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