提交 2190d10d 编写于 作者: B Bart Van Assche 提交者: Doug Ledford

IB/mad: Fix indentation

Make indentation consistent. Detected by smatch.
Signed-off-by: NBart Van Assche <bart.vanassche@sandisk.com>
Cc: Hal Rosenstock <hal@mellanox.com>
Cc: Ira Weiny <ira.weiny@intel.com>
Reviewed-By: NIra Weiny <ira.weiny@intel.com>
Reviewed-by: NHal Rosenstock <hal@mellanox.com>
Reviewed-by: NSagi Grimberg <sagi@grimberg.me>
Signed-off-by: NDoug Ledford <dledford@redhat.com>
上级 0270be78
...@@ -1638,9 +1638,9 @@ static void remove_mad_reg_req(struct ib_mad_agent_private *agent_priv) ...@@ -1638,9 +1638,9 @@ static void remove_mad_reg_req(struct ib_mad_agent_private *agent_priv)
/* Now, check to see if there are any methods still in use */ /* Now, check to see if there are any methods still in use */
if (!check_method_table(method)) { if (!check_method_table(method)) {
/* If not, release management method table */ /* If not, release management method table */
kfree(method); kfree(method);
class->method_table[mgmt_class] = NULL; class->method_table[mgmt_class] = NULL;
/* Any management classes left ? */ /* Any management classes left ? */
if (!check_class_table(class)) { if (!check_class_table(class)) {
/* If not, release management class table */ /* If not, release management class table */
kfree(class); kfree(class);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册