diff options
author | Cédric Le Goater <clg@fr.ibm.com> | 2016-01-25 15:07:28 +0100 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2016-02-06 20:44:08 +0200 |
commit | 62a4931d1e719059a8462dc0adad812524796fd4 (patch) | |
tree | 40a4e2d3fac92b9b993e9e6015335d317083113e /hw/net | |
parent | d13ada5d8f5064615db3a6bf5ef457cb159e3dff (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 'hw/net')
0 files changed, 0 insertions, 0 deletions