mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 02:01:24 +01:00
ns16550: remove partial explicit initializer
The initializer of 'ns16550_com' violates MISRA C Rule 9.3 because it explicitly initializes only the first element of the array, but the semantics is the same if the explicit initialization is omitted. No functional change. Signed-off-by: Nicola Vetrini <nicola.vetrini@bugseng.com> Acked-by: Andrew Cooper <andrew.cooper3@citrix.com>
This commit is contained in:
1 parent
948e033031
commit
01da0aeecd
1 file changed
+1
-1
@@ -73,7 +73,7 @@ static struct ns16550 {
|
||||
bool msi;
|
||||
const struct ns16550_config_param *param; /* Points into .init.*! */
|
||||
#endif
|
||||
} ns16550_com[2] = { { 0 } };
|
||||
} ns16550_com[2] = {};
|
||||
|
||||
#ifdef NS16550_PCI
|
||||
struct ns16550_config {
|
||||
|
||||