mirror of
https://github.com/lm-sensors/lm-sensors.git
synced 2026-10-23 11:54:33 +00:00
Fix bogus return in a middle of a function. Patch by Sergio
Gelato. git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2884 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
1 parent
78f5390e51
commit
a37fd5f9d2
1 file changed
+1
-1
@@ -180,7 +180,7 @@ static void ipmi_register_bmc(int ipmi_intf)
|
||||
return;
|
||||
}
|
||||
|
||||
return i2c_add_adapter(&i2c_ipmi_adapter);
|
||||
error = i2c_add_adapter(&i2c_ipmi_adapter);
|
||||
if (error) {
|
||||
printk(KERN_ERR "i2c-ipmi.o: Adapter registration failed, "
|
||||
"module i2c-ipmi.o is not inserted\n.");
|
||||
|
||||
Reference in new issue
Block a user