]> git.baikalelectronics.ru Git - kernel.git/commit
irda: Convert function pointer arrays and uses to const
authorJoe Perches <joe@perches.com>
Wed, 10 Dec 2014 18:28:58 +0000 (10:28 -0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 10 Dec 2014 20:33:16 +0000 (15:33 -0500)
commit1eb24148e659bb91a6680acee9fd168f57d3b4b3
tree1fbf9ac09b89dea8754927e84a54c15ad3e47d0a
parentc6535c1b19858f5164cbf3d4ae4bd3f4a47e38e2
irda: Convert function pointer arrays and uses to const

Making things const is a good thing.

(x86-64 defconfig with all irda)
$ size net/irda/built-in.o*
   text    data     bss     dec     hex filename
 109276    1868     244  111388   1b31c net/irda/built-in.o.new
 108828    2316     244  111388   1b31c net/irda/built-in.o.old

Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/irda/parameters.h
net/irda/ircomm/ircomm_param.c
net/irda/irttp.c
net/irda/parameters.c
net/irda/qos.c