Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
W
White Rabbit Switch - Software
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
86
Issues
86
List
Board
Labels
Milestones
Merge Requests
4
Merge Requests
4
CI / CD
CI / CD
Pipelines
Schedules
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
White Rabbit Switch - Software
Commits
908be15d
Commit
908be15d
authored
Dec 08, 2014
by
Adam Wujek
💬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
kernel/wr_pstats: get rid of PSTATS_NAMES_ARRAY_SIZE
Signed-off-by:
Adam Wujek
<
adam.wujek@cern.ch
>
parent
c76f523b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
4 deletions
+1
-4
wr_pstats.c
kernel/wr_pstats/wr_pstats.c
+1
-2
wr_pstats.h
kernel/wr_pstats/wr_pstats.h
+0
-2
No files found.
kernel/wr_pstats/wr_pstats.c
View file @
908be15d
...
...
@@ -43,8 +43,7 @@ const char *portnames[] = {"port0", "port1", "port2", "port3", "port4",
"port5"
,
"port6"
,
"port7"
,
"port8"
,
"port9"
,
"port10"
,
"port11"
,
"port12"
,
"port13"
,
"port14"
,
"port15"
,
"port16"
,
"port17"
};
static
struct
pstats_version_description
pstats_desc
[
PSTATS_NAMES_ARRAY_SIZE
]
=
{
static
struct
pstats_version_description
pstats_desc
[]
=
{
[
0
]
=
{
.
cnt_names
=
"Inv pstats ver reported by FPGA"
,
.
rx_packets
=
0
,
...
...
kernel/wr_pstats/wr_pstats.h
View file @
908be15d
...
...
@@ -22,8 +22,6 @@
#define PSTATS_IRQBUFSZ 16
#define PSTATS_NAMES_ARRAY_SIZE 2
#define PINFO_SIZE 3
#define PINFO_VER 0
#define PINFO_CNTPW 1
...
...
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