Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
F
FMC DEL 1ns 4cha
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
2
Issues
2
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
Commits
24cbe7e3
Commit
24cbe7e3
authored
Oct 13, 2022
by
Vaibhav Gupta
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
software: oldtools: fd-raw-perf: Remove unused variables
Signed-off-by:
Vaibhav Gupta
<
vaibhav.gupta@cern.ch
>
parent
48f32c50
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
4 deletions
+1
-4
fd-raw-perf.c
software/oldtools/fd-raw-perf.c
+1
-4
No files found.
software/oldtools/fd-raw-perf.c
View file @
24cbe7e3
...
...
@@ -124,12 +124,11 @@ struct zio_control ctrl;
int
main
(
int
argc
,
char
**
argv
)
{
glob_t
glob_buf
;
int
fd
[
MAXFD
]
,
seq
[
MAXFD
]
;
int
fd
[
MAXFD
];
int
i
,
j
,
maxfd
=
0
;
fd_set
allset
,
curset
;
struct
timeval
tout
;
struct
fd_perf
perf
=
{
0
,};
int
floatmode
=
0
;
uint32_t
*
attrs
;
int
step
=
0
;
...
...
@@ -137,7 +136,6 @@ int main(int argc, char **argv)
step
=
atoi
(
getenv
(
"PERF_STEP"
));
if
(
argc
>
1
&&
!
strcmp
(
argv
[
1
],
"-f"
))
{
floatmode
=
1
;
argv
[
1
]
=
argv
[
0
];
argv
++
,
argc
--
;
}
...
...
@@ -180,7 +178,6 @@ int main(int argc, char **argv)
if
(
fd
[
i
]
>
maxfd
)
maxfd
=
fd
[
i
];
FD_SET
(
fd
[
i
],
&
allset
);
seq
[
i
]
=
-
1
;
}
/* Ok, now wait for each of them to spit a timestamp */
...
...
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