forked from Minki/linux
IB/mad: Fix indentation
Make indentation consistent. Detected by smatch. Signed-off-by: Bart Van Assche <bart.vanassche@sandisk.com> Cc: Hal Rosenstock <hal@mellanox.com> Cc: Ira Weiny <ira.weiny@intel.com> Reviewed-By: Ira Weiny <ira.weiny@intel.com> Reviewed-by: Hal Rosenstock <hal@mellanox.com> Reviewed-by: Sagi Grimberg <sagi@grimberg.me> Signed-off-by: Doug Ledford <dledford@redhat.com>
This commit is contained in:
parent
0270be78da
commit
2190d10de5
@ -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 */
|
||||
if (!check_method_table(method)) {
|
||||
/* If not, release management method table */
|
||||
kfree(method);
|
||||
class->method_table[mgmt_class] = NULL;
|
||||
/* Any management classes left ? */
|
||||
kfree(method);
|
||||
class->method_table[mgmt_class] = NULL;
|
||||
/* Any management classes left ? */
|
||||
if (!check_class_table(class)) {
|
||||
/* If not, release management class table */
|
||||
kfree(class);
|
||||
|
Loading…
Reference in New Issue
Block a user