Commit 908be15d authored by Adam Wujek's avatar Adam Wujek 💬

kernel/wr_pstats: get rid of PSTATS_NAMES_ARRAY_SIZE

Signed-off-by: Adam Wujek's avatarAdam Wujek <adam.wujek@cern.ch>
parent c76f523b
......@@ -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,
......
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment