]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blobdiff - drivers/char/ipmi/ipmi_msghandler.c
ipmi: remove redundant initialization of bmc
[mirror_ubuntu-bionic-kernel.git] / drivers / char / ipmi / ipmi_msghandler.c
index c29d46bef6b30bc3f74826548047ea87193a0cfc..9de189db2cc3c6486884decb5073d4c1e3830707 100644 (file)
@@ -2941,7 +2941,7 @@ static int __ipmi_bmc_register(ipmi_smi_t intf,
                               bool guid_set, guid_t *guid, int intf_num)
 {
        int               rv;
-       struct bmc_device *bmc = intf->bmc;
+       struct bmc_device *bmc;
        struct bmc_device *old_bmc;
 
        /*