summaryrefslogtreecommitdiff
path: root/arch_init.c
diff options
context:
space:
mode:
authorCédric Le Goater <clg@fr.ibm.com>2016-01-25 15:07:28 +0100
committerMichael S. Tsirkin <mst@redhat.com>2016-02-06 20:44:08 +0200
commit62a4931d1e719059a8462dc0adad812524796fd4 (patch)
tree40a4e2d3fac92b9b993e9e6015335d317083113e /arch_init.c
parentd13ada5d8f5064615db3a6bf5ef457cb159e3dff (diff)
ipmi: replace *_MAXCMD defines
ARRAY_SIZE() is simple to use and removes the need to pre-define the size of the command arrays. Signed-off-by: Cédric Le Goater <clg@fr.ibm.com> Reviewed-by: Greg Kurz <gkurz@linux.vnet.ibm.com> Acked-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'arch_init.c')
0 files changed, 0 insertions, 0 deletions