Hello there,

linux-4.15-rc1/drivers/char/ipmi/ipmi_si_intf.c:2282]: (style) Expression is 
always false because 'else if' condition matches previous condition at line 2279

Source code is

    if (new_smi->pdev) {
        platform_device_unregister(new_smi->pdev);
        new_smi->pdev = NULL;
    } else if (new_smi->pdev) {

Suggest code rework.

Regards

David Binderman

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Openipmi-developer mailing list
Openipmi-developer@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openipmi-developer

Reply via email to