diff options
| author | Dennis Dalessandro <[email protected]> | 2015-12-02 00:43:38 -0500 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2015-12-21 13:53:37 -0800 |
| commit | 2d1900f131f015ff335c53b655edfb4e10e57ee7 (patch) | |
| tree | de8e2a2cc08f935cd01876903ae6a7634a0628c6 /tools | |
| parent | 33ab349037db079aec7d60608fe4fb1114be6b91 (diff) | |
staging/rdma/hfi1: Return immediately on error
Now that the spinlock is not taken throughout hfi1_ioctl it is safe to return
early rather than setting a variable and falling through the switch.
Reviewed-by: Mike Marciniszyn <[email protected]>
Signed-off-by: Dennis Dalessandro <[email protected]>
Signed-off-by: Ira Weiny <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions