llc: Make llc_sap_action_t function pointer arrays const
authorJoe Perches <joe@perches.com>
Wed, 10 Dec 2014 17:55:50 +0000 (09:55 -0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 10 Dec 2014 20:21:24 +0000 (15:21 -0500)
commit22bbf5f3e4e4db4a94f18d7b1ba21b5bd5fd934b
tree2cebf757144a87b4fbfc3d4feebc4cb61338cd61
parent9b373069350d747c4e7ad7ea59f0fa348e860383
llc: Make llc_sap_action_t function pointer arrays const

It's better when function pointer arrays aren't modifiable.

Net change:

$ size net/llc/built-in.o.*
   text    data     bss     dec     hex filename
  61193   12758    1344   75295   1261f net/llc/built-in.o.new
  47113   27030    1344   75487   126df net/llc/built-in.o.old

Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/llc_s_st.h
net/llc/llc_s_st.c
net/llc/llc_sap.c