Commit b8071ad8 authored by Doug Ledford's avatar Doug Ledford

IB/core: Remove needless bracketization

Signed-off-by: default avatarDoug Ledford <dledford@redhat.com>
parent cc36929e
......@@ -324,6 +324,7 @@ int ib_register_device(struct ib_device *device,
u8, struct kobject *))
{
int ret;
struct ib_client *client;
mutex_lock(&device_mutex);
......@@ -361,13 +362,9 @@ int ib_register_device(struct ib_device *device,
device->reg_state = IB_DEV_REGISTERED;
{
struct ib_client *client;
list_for_each_entry(client, &client_list, list)
if (client->add && !add_client_context(device, client))
client->add(device);
}
down_write(&lists_rwsem);
list_add_tail(&device->core_list, &device_list);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment