summaryrefslogtreecommitdiffstats
path: root/net/rxrpc
diff options
context:
space:
mode:
authorDavid Howells <dhowells@redhat.com>2016-10-06 08:11:48 +0100
committerDavid Howells <dhowells@redhat.com>2016-10-06 08:11:48 +0100
commit19c0dbd5406ddc669ef1516c02c6b0f5a4465628 (patch)
tree0c93573b091ac7bdd9bdc916ef62282c35ff3eaf /net/rxrpc
parentb63452c11e22382e592d3f7f9ac4966197d3eab6 (diff)
downloadop-kernel-dev-19c0dbd5406ddc669ef1516c02c6b0f5a4465628.zip
op-kernel-dev-19c0dbd5406ddc669ef1516c02c6b0f5a4465628.tar.gz
rxrpc: Fix duplicate const
Remove a duplicate const keyword. Signed-off-by: David Howells <dhowells@redhat.com>
Diffstat (limited to 'net/rxrpc')
-rw-r--r--net/rxrpc/ar-internal.h2
-rw-r--r--net/rxrpc/misc.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/net/rxrpc/ar-internal.h b/net/rxrpc/ar-internal.h
index d38dffd..4954e6e2 100644
--- a/net/rxrpc/ar-internal.h
+++ b/net/rxrpc/ar-internal.h
@@ -777,7 +777,7 @@ extern const char rxrpc_congest_modes[NR__RXRPC_CONGEST_MODES][10];
extern const char rxrpc_congest_changes[rxrpc_congest__nr_change][9];
extern const char *const rxrpc_pkts[];
-extern const char const rxrpc_ack_names[RXRPC_ACK__INVALID + 1][4];
+extern const char rxrpc_ack_names[RXRPC_ACK__INVALID + 1][4];
#include <trace/events/rxrpc.h>
diff --git a/net/rxrpc/misc.c b/net/rxrpc/misc.c
index 9d1c721..804a88e 100644
--- a/net/rxrpc/misc.c
+++ b/net/rxrpc/misc.c
@@ -96,7 +96,7 @@ const s8 rxrpc_ack_priority[] = {
[RXRPC_ACK_PING] = 9,
};
-const char const rxrpc_ack_names[RXRPC_ACK__INVALID + 1][4] = {
+const char rxrpc_ack_names[RXRPC_ACK__INVALID + 1][4] = {
"---", "REQ", "DUP", "OOS", "WIN", "MEM", "PNG", "PNR", "DLY",
"IDL", "-?-"
};
OpenPOWER on IntegriCloud