rxrpc: Fix duplicate const
authorDavid Howells <dhowells@redhat.com>
Thu, 6 Oct 2016 07:11:48 +0000 (08:11 +0100)
committerDavid Howells <dhowells@redhat.com>
Thu, 6 Oct 2016 07:11:48 +0000 (08:11 +0100)
Remove a duplicate const keyword.

Signed-off-by: David Howells <dhowells@redhat.com>
net/rxrpc/ar-internal.h
net/rxrpc/misc.c

index d38dffd7808536a510a523ad5d3d3032abc4c178..4954e6e25819a3be18a51275a1586a70247725d1 100644 (file)
@@ -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>
 
index 9d1c721bc4e803d52c450aa640ca7eb675802c73..804a88e2873916ced97ca77a6f509505ddeda9c3 100644 (file)
@@ -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", "-?-"
 };