OSDN Git Service

qlogic/qed: Constify *pkt_type_str[]
authorHernán Gonzalez <hernan@vanguardiasur.com.ar>
Tue, 27 Feb 2018 22:31:34 +0000 (19:31 -0300)
committerDavid S. Miller <davem@davemloft.net>
Wed, 28 Feb 2018 16:39:40 +0000 (11:39 -0500)
commit4f4aaa1720a3dac0e7afb51bf1177eb66d9c2172
tree41c33a853bf80376d8ee5a24740d79ffae28d1fc
parent2824db741b650fc22f066924a2bfa3fb47054b6d
qlogic/qed: Constify *pkt_type_str[]

Note: This is compile only tested as I have no access to the hw.
Constifying and declaring as static saves 24 bytes.

add/remove: 0/1 grow/shrink: 0/0 up/down: 0/-24 (-24)
Function                                     old     new   delta
pkt_type_str                                  24       -     -24
Total: Before=3599256, After=3599232, chg -0.00%

Signed-off-by: Hernán Gonzalez <hernan@vanguardiasur.com.ar>
Acked-by: Michal Kalderon <michal.kalderon@cavium.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/qlogic/qed/qed_iwarp.c