提交 680562b5 编写于 作者: D Dasaratharaman Chandramouli 提交者: Doug Ledford

IB/SA: Remove unwanted braces

This fixes a checkpatch issue. The fix is needed
so that some of these functions can be moved around
in the forthcoming patches
Reviewed-by: NDon Hiatt <don.hiatt@intel.com>
Reviewed-by: NIra Weiny <ira.weiny@intel.com>
Signed-off-by: NDasaratharaman Chandramouli <dasaratharaman.chandramouli@intel.com>
Signed-off-by: NDoug Ledford <dledford@redhat.com>
上级 dbb6c91f
......@@ -945,9 +945,8 @@ static void update_sm_ah(struct work_struct *work)
}
new_ah = kmalloc(sizeof(*new_ah), GFP_KERNEL);
if (!new_ah) {
if (!new_ah)
return;
}
kref_init(&new_ah->ref);
new_ah->src_path_mask = (1 << port_attr.lmc) - 1;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册