diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2014-01-30 15:12:31 +0300 |
---|---|---|
committer | Roland Dreier <roland@purestorage.com> | 2014-03-20 10:19:18 -0700 |
commit | 186f8ba062f796221d51077342f3ba5202838e9f (patch) | |
tree | 43b54218f6e12931419ea37c6cc9c21b1be6d56f /include | |
parent | 49c0e2414b20d868cf006addf14152570aef2605 (diff) | |
download | op-kernel-dev-186f8ba062f796221d51077342f3ba5202838e9f.zip op-kernel-dev-186f8ba062f796221d51077342f3ba5202838e9f.tar.gz |
IB/qib: Cleanup qib_register_observer()
Returning directly is easier to read than do-nothing gotos. Remove the
duplicative check on "olp" and pull the code in one indent level.
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Acked-by: Mike Marciniszyn <mike.marciniszyn@intel.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions