module: ignore NULL type
commitd87350b065128e8156e7aca93e89a1ab9e5fa63d
authorGerd Hoffmann <kraxel@redhat.com>
Mon, 20 Jul 2020 10:03:51 +0000 (20 12:03 +0200)
committerGerd Hoffmann <kraxel@redhat.com>
Tue, 21 Jul 2020 08:56:51 +0000 (21 10:56 +0200)
tree8d6334745b6a7bbdab45a2a3cc2a83bc95391090
parentd97df4b84bc42613cf9a03619de453ebd0be30b7
module: ignore NULL type

Just return in case module_load_qom_one(NULL) is called.
vga_interface_available() can do that.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Message-Id: <20200720100352.2477-3-kraxel@redhat.com>
util/module.c